aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/upnp/ssdpconnection.cpp
diff options
context:
space:
mode:
authorGravatar Fabio Bas2008-08-13 09:46:12 +0000
committerGravatar Fabio Bas2008-08-13 09:46:12 +0000
commit900c8771c9c08fb7861489ab2a5e14b12e27ab07 (patch)
tree07bd7f185352b2e389192322769e7b0dade2a53f /src/modules/upnp/ssdpconnection.cpp
parentwiped out layer3forwardingservice check from upnp module (incompatible betwee... (diff)
downloadKVIrc-900c8771c9c08fb7861489ab2a5e14b12e27ab07.tar.gz
KVIrc-900c8771c9c08fb7861489ab2a5e14b12e27ab07.tar.bz2
KVIrc-900c8771c9c08fb7861489ab2a5e14b12e27ab07.zip
more work on upnp
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2236 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/upnp/ssdpconnection.cpp')
-rw-r--r--src/modules/upnp/ssdpconnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/upnp/ssdpconnection.cpp b/src/modules/upnp/ssdpconnection.cpp
index 7297453e6..79f63323f 100644
--- a/src/modules/upnp/ssdpconnection.cpp
+++ b/src/modules/upnp/ssdpconnection.cpp
@@ -103,7 +103,7 @@ void SsdpConnection::slotDataReceived()
QString location = sspdResponse.mid(locationStart, locationEnd - locationStart);
// Parse the URL syntax using KURL
- QUrl url(location);
+ QUrl url(location.trimmed());
qDebug("Found internet gateway: %s\n", location.toUtf8().data());
// Emit success