Skip to content
Browse files

Merge branch 'hotfix/zf2-533' into develop

Forward port #2383
  • Loading branch information...
2 parents 98b04b6 + 44ae7cd commit eaacea410ef9b5ef209d5a6e4a5a5c89600408b8 @weierophinney weierophinney committed Sep 21, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 library/Zend/Uri/Uri.php
  2. +1 −1 tests/run-tests.php
View
2 library/Zend/Uri/Uri.php
@@ -24,7 +24,7 @@ class Uri implements UriInterface
/**
* Character classes defined in RFC-3986
*/
- const CHAR_UNRESERVED = '\w\-\.~';
+ const CHAR_UNRESERVED = 'a-zA-Z0-9_\-\.~';
const CHAR_GEN_DELIMS = ':\/\?#\[\]@';
const CHAR_SUB_DELIMS = '!\$&\'\(\)\*\+,;=';
const CHAR_RESERVED = ':\/\?#\[\]@!\$&\'\(\)\*\+,;=';
View
2 tests/run-tests.php
@@ -86,7 +86,7 @@
foreach ($components as $component) {
$component = 'ZendTest/' . basename(str_replace('_', '/', $component));
echo "$component:\n";
- system("$phpunit_bin $phpunit_opts $phpunit_coverage " . __DIR__ . '/' . $component, $c_result);
+ system("$phpunit_bin $phpunit_opts $phpunit_coverage " . escapeshellarg(__DIR__ . '/' . $component), $c_result);
echo "\n\n";
if ($c_result) {
$result = $c_result;

0 comments on commit eaacea4

Please sign in to comment.
Something went wrong with that request. Please try again.