[vlc-commits] VLSub: Reorder LogIn parameters

Hugo Beauzée-Luyssen git at videolan.org
Wed Apr 8 13:39:42 CEST 2020


vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Apr  8 12:09:57 2020 +0200| [64b59282a6fdc8afe5d17086a5abbf8906d8e8e9] | committer: Hugo Beauzée-Luyssen

VLSub: Reorder LogIn parameters

Any other order, or explicitely naming parameters, causes either a 401
or a 411

(cherry picked from commit 9cacaab3c974520b6579a56274c0ec952e66dfc4)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=64b59282a6fdc8afe5d17086a5abbf8906d8e8e9
---

 share/lua/extensions/VLSub.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/lua/extensions/VLSub.lua b/share/lua/extensions/VLSub.lua
index ee9e5f84a9..4848cdaac1 100644
--- a/share/lua/extensions/VLSub.lua
+++ b/share/lua/extensions/VLSub.lua
@@ -1113,8 +1113,8 @@ openSub = {
         return {
           { value={ string=openSub.option.os_username } },
           { value={ string=openSub.option.os_password } },
+          { value={ string=openSub.conf.useragent } },
           { value={ string=openSub.movie.sublanguageid } },
-          { value={ string=openSub.conf.useragent } }
         }
       end,
       callback = function(resp)



More information about the vlc-commits mailing list