Line 0
Link Here
|
|
|
1 |
--- src/jpgraph.php.orig 2016-02-07 15:28:23 UTC |
2 |
+++ src/jpgraph.php |
3 |
@@ -1286,11 +1286,11 @@ class Graph { |
4 |
while( list($key,$value) = each($_GET) ) { |
5 |
if( is_array($value) ) { |
6 |
foreach ( $value as $k => $v ) { |
7 |
- $urlarg .= '&'.$key.'%5B'.$k.'%5D='.urlencode($v); |
8 |
+ $urlarg .= '&'.urlencode($key).'%5B'.urlencode($k).'%5D='.urlencode($v); |
9 |
} |
10 |
} |
11 |
else { |
12 |
- $urlarg .= '&'.$key.'='.urlencode($value); |
13 |
+ $urlarg .= '&'.urlencode($key).'='.urlencode($value); |
14 |
} |
15 |
} |
16 |
|
17 |
@@ -1301,11 +1301,11 @@ class Graph { |
18 |
while( list($key,$value) = each($_POST) ) { |
19 |
if( is_array($value) ) { |
20 |
foreach ( $value as $k => $v ) { |
21 |
- $urlarg .= '&'.$key.'%5B'.$k.'%5D='.urlencode($v); |
22 |
+ $urlarg .= '&'.urlencode($key).'%5B'.urlencode($k).'%5D='.urlencode($v); |
23 |
} |
24 |
} |
25 |
else { |
26 |
- $urlarg .= '&'.$key.'='.urlencode($value); |
27 |
+ $urlarg .= '&'.urlencode($key).'='.urlencode($value); |
28 |
} |
29 |
} |
30 |
|