[rtmpdump] [PATCH] Better URL decoding support

xspeed1989 xspeed1989 at gmail.com
Wed Oct 24 15:18:26 CEST 2012

all i say are thanks


From: NhJm
Date: 2012-10-24 12:39
To: rtmpdump discussion and development
Subject: Re: [rtmpdump] [PATCH] Better URL decoding support
On Tue, Oct 23, 2012 at 9:12 AM, Steven Penny <svnpenn at gmail.com> wrote: 

-               /* skip extension */
-               if (subExt && p == ext) {
-                       p += 4;
-                       pplen -= 4;
-                       continue;
-               }

Please be careful not to break things.

Anyways, the proper behavior is to actually *NOT* do any urldecoding. The %xx should be sent to the server as-is. This is what the Flash Player does and is the same as how normal HTTP clients handle URLs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20121024/6b4f3a78/attachment.html>

More information about the rtmpdump mailing list