Permalink
Browse files

Merge branch 'hotfix/zf2-533'

CLose #2383
  • Loading branch information...
2 parents c3e6b46 + 97da77c commit 3b9784cf2f8cdd75d054d0efd8a3179ab644c3d5 @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
@@ -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
@@ -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 3b9784c

Please sign in to comment.