limit values extracted by url_extract to 2048 characters instead of 512 characters...
authorAntoine Cellerier <dionoea@videolan.org>
Thu, 22 Mar 2007 10:35:29 +0000 (10:35 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Thu, 22 Mar 2007 10:35:29 +0000 (10:35 +0000)
modules/control/http/rpn.c

index 6027a15..a9b4954 100644 (file)
@@ -349,10 +349,10 @@ void E_(EvaluateRPN)( intf_thread_t *p_intf, mvar_t  *vars,
         {
             char *url = E_(mvar_GetValue)( vars, "url_value" );
             char *name = E_(SSPop)( st );
-            char value[512];
+            char value[2048];
             char *tmp;
 
-            E_(ExtractURIValue)( url, name, value, 512 );
+            E_(ExtractURIValue)( url, name, value, 2048 );
             decode_URI( value );
             tmp = E_(FromUTF8)( p_intf, value );
             E_(SSPush)( st, tmp );