[vlc-commits] commit: lua: youtube seems to do some (more) double encoding ( Ilkka Ollakka )
git at videolan.org
git at videolan.org
Mon Oct 4 23:43:19 CEST 2010
vlc/vlc-1.1 | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Oct 4 16:34:53 2010 +0300| [da4246d9cf2ccaa3d809e9c409aa7d33d1044f36] | committer: Ilkka Ollakka
lua: youtube seems to do some (more) double encoding
(cherry picked from commit 27e2bbffe7168ee928cbb37ebf8f196ca4a1e475)
Signed-off-by: Ilkka Ollakka <ileoo at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=da4246d9cf2ccaa3d809e9c409aa7d33d1044f36
---
share/lua/playlist/youtube.lua | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/share/lua/playlist/youtube.lua b/share/lua/playlist/youtube.lua
index 7ae74e9..713bdc0 100644
--- a/share/lua/playlist/youtube.lua
+++ b/share/lua/playlist/youtube.lua
@@ -68,6 +68,7 @@ function parse()
if string.match( line, "<meta name=\"title\"" ) then
_,_,name = string.find( line, "content=\"(.-)\"" )
name = vlc.strings.resolve_xml_special_chars( name )
+ name = vlc.strings.resolve_xml_special_chars( name )
end
if string.match( line, "<meta name=\"description\"" ) then
-- Don't ask me why they double encode ...
More information about the vlc-commits
mailing list