Url-encode file & line data in editor uri

This commit is contained in:
filp
2013-04-12 11:38:11 +01:00
parent fd64a38d0d
commit 1319f2e6ca
+2 -2
View File
@@ -225,8 +225,8 @@ class PrettyPageHandler extends Handler
);
}
$editor = str_replace("%line", $line, $editor);
$editor = str_replace("%file", $filePath, $editor);
$editor = str_replace("%line", rawurlencode($line), $editor);
$editor = str_replace("%file", rawurlencode($filePath), $editor);
return $editor;
}