[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:41:11 CEST 2010
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Oct 4 16:34:53 2010 +0300| [27e2bbffe7168ee928cbb37ebf8f196ca4a1e475] | committer: Ilkka Ollakka
lua: youtube seems to do some (more) double encoding
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=27e2bbffe7168ee928cbb37ebf8f196ca4a1e475
---
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