Skip to content

Commit 65c4d88

Browse files
committed
fixed problem with urlencoding of the test inputs
1 parent d87cde1 commit 65c4d88

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
application: regexplanet-php
22
version: 1
3-
runtime: php
3+
runtime: php55
44
api_version: 1
55

66
handlers:

run-gae.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/bash
2-
/usr/local/google_appengine/dev_appserver.py --php_executable_path=//download/google/php-5.4.15/installdir/bin/php-cgi .
2+
/usr/local/google-cloud-sdk/bin/dev_appserver.py --php_executable_path=/usr/bin/php-cgi5.6 ./app.yaml
3+
#--php_executable_path=//download/google/php-5.4.15/installdir/bin/php-cgi .

www/test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public static function getLastError()
107107
$html = $html . "\t</thead>\n";
108108
$html = $html . "\t<tbody>\n";
109109

110-
$inputs = get_parameter_values("input");
110+
$inputs = get_parameter_values("input");
111111

112112
for ($loop = 0; $loop < count($inputs); $loop++)
113113
{
@@ -227,7 +227,7 @@ function get_parameter_values($target)
227227

228228
if ($name == $target)
229229
{
230-
$arr[] = $value;
230+
$arr[] = urldecode($value);
231231
}
232232
}
233233
}

0 commit comments

Comments
 (0)