corrade-http-templates – Diff between revs 81 and 82
?pathlinks?
Rev 81 | Rev 82 | |||
---|---|---|---|---|
Line 50... | Line 50... | |||
50 | |
50 | |
|
51 | #### |
51 | #### |
|
52 | # II. Escape the data to be sent to Corrade. |
52 | # II. Escape the data to be sent to Corrade. |
|
53 | array_walk($params, |
53 | array_walk($params, |
|
54 | function(&$value, $key) { |
54 | function(&$value, $key) { |
|
55 | $value = rawurlencode($key)."=".rawurlencode($value); |
55 | $value = urlencode($key)."=".urlencode($value); |
|
56 | } |
56 | } |
|
57 | ); |
57 | ); |
|
Line 58... | Line 58... | |||
58 | $postvars = implode('&', $params); |
58 | $postvars = implode('&', $params); |