Page MenuHomePhorge

D25164.1739901432.diff
No OneTemporary

D25164.1739901432.diff

diff --git a/src/utils/utils.php b/src/utils/utils.php
--- a/src/utils/utils.php
+++ b/src/utils/utils.php
@@ -1888,7 +1888,10 @@
* @return string URI encoded string, except for '/'.
*/
function phutil_escape_uri($string) {
- return str_replace('%2F', '/', rawurlencode($string));
+ if (phutil_nonempty_string($string)) {
+ return str_replace('%2F', '/', rawurlencode($string));
+ }
+ return null;
}

File Metadata

Mime Type
text/plain
Expires
Tue, Feb 18, 17:57 (3 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1133862
Default Alt Text
D25164.1739901432.diff (420 B)

Event Timeline