Changeset View
Changeset View
Standalone View
Standalone View
src/aphront/response/AphrontResponse.php
Context not available. | |||||
->removeAllQueryParams(); | ->removeAllQueryParams(); | ||||
$uri = (string)$uri; | $uri = (string)$uri; | ||||
if (preg_match('/[ ;\']/', $uri)) { | if (@preg_match('/[ ;\']/', $uri)) { | ||||
throw new Exception( | throw new Exception( | ||||
pht( | pht( | ||||
'Attempting to emit a response with an unsafe source ("%s") in the '. | 'Attempting to emit a response with an unsafe source ("%s") in the '. | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0