summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Pinkham <cpinkham@mythtv.org>2011-11-08 02:15:40 (GMT)
committer Chris Pinkham <cpinkham@mythtv.org>2011-11-08 02:15:40 (GMT)
commit31e9528e12afea4306e1a249a4719d4579ecd6e3 (patch)
tree6125fd94c56149d5b859f217bee7434338c2876e
parent2b5575937ebbdb2d0b6f12e3ab96d570cc6fdc08 (diff)
Add @ to valid chars on mythfrontend network control command line.
This should allow myth://StorageGroup@hostname/ type URLs to work.
-rw-r--r--mythtv/programs/mythfrontend/networkcontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/programs/mythfrontend/networkcontrol.cpp b/mythtv/programs/mythfrontend/networkcontrol.cpp
index 0204f34..211a85a 100644
--- a/mythtv/programs/mythfrontend/networkcontrol.cpp
+++ b/mythtv/programs/mythfrontend/networkcontrol.cpp
@@ -416,7 +416,7 @@ void NetworkControlClient::readClient(void)
while (socket->canReadLine())
{
lineIn = socket->readLine();
- lineIn.replace(QRegExp("[^-a-zA-Z0-9\\s\\.:_#/$%&()*+,;<=>?\\[\\]\\|]"), "");
+ lineIn.replace(QRegExp("[^-a-zA-Z0-9\\s\\.:_@#/$%&()*+,;<=>?\\[\\]\\|]"), "");
lineIn.replace(QRegExp("[\r\n]"), "");
lineIn.replace(QRegExp("^\\s"), "");