add TODO
authorFelix Domke <tmbinc@elitedvb.net>
Thu, 30 Nov 2006 02:03:18 +0000 (02:03 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Thu, 30 Nov 2006 02:03:18 +0000 (02:03 +0000)
lib/service/service.cpp

index 82957c8..7354499 100644 (file)
@@ -45,7 +45,7 @@ std::string eServiceReference::toString() const
        ret += getNum(flags);
        for (unsigned int i=0; i<sizeof(data)/sizeof(*data); ++i)
                ret+=":"+ getNum(data[i], 0x10);
-       ret+=":"+path;
+       ret+=":"+path; /* we absolutely have a problem when the path contains a ':' (for example: http://). we need an encoding here. */
        if (name.length())
                ret+=":"+name;
        return ret;