[mythtv] URL escaping on the command line

J. Donavan Stanley jdonavan at jdonavan.net
Wed Jul 21 18:47:03 EDT 2004

Dick Smits wrote:

>When processing RSS feeds with mythnews I sometimes get a URL in the feed
>that contains the characters
>";" or "&". When you press the ENTER button mythbrowser is called to display
>the newsarticle.
>The does not work when these characters are present in the URL.
>The myth_system call used for this needs the escaped string (a la shell).
>Example myth_system argument from nu.nl:
>/usr/bin/mythbrowser -z 115 http://nu.nl/news.jsp?n=360482&c=61
>This should be:
>/usr/bin/mythbrowser -z 115 http://nu\.nl/news\.jsp\?n=360482\&amp\;c=61
>This patch adds that to mythnews.cpp.
>I'm not a c++ and/or QT coder, so the patch may be not the best solution.

Pleae resubmit this with the patch as an attachment.

More information about the mythtv-dev mailing list