[vlc-devel] [PATCH 1/2] lua/libs/input: fix 17611: properly populate filename attribute

Filip Roséen filip at atch.se
Mon Nov 7 02:37:41 CET 2016


Hi Pierre,

On 2016-11-07 01:21, Pierre Ynard wrote:

> Umm okay if you say so. It sure seems to be the contrary to me for
> 02_frenchtv.lua since it parses spaces and they would be encoded from
> the URI. But in fact it's still unclear to me what exactly is supposed
> to be called "filename".

Oh, and the above made me realize that I completely forgot to
*url-decode* the extracted filename from the path (to account for what
you mentioned). Thanks for the reminder!

Attached is a patch which:
  - has added comments related to filename extraction, and;
  - url decodes the extracted filename.

Best Regards,\
Filip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20161107/8930d2fe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lua-libs-input-fix-17611-properly-populate-filename-.patch
Type: text/x-diff
Size: 2019 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20161107/8930d2fe/attachment.patch>


More information about the vlc-devel mailing list