Lines Matching defs:requestUri
24 * @param string $requestUri
28 public static function isDateMathEscaped($requestUri)
31 return false !== \strpos(\strtoupper($requestUri), '%2F');
39 * @param string $requestUri
43 public static function escapeDateMath($requestUri)
45 if (empty($requestUri)) {
46 return $requestUri;
50 $pos1 = \strrpos($requestUri, '>');
52 return $requestUri;
57 $pos2 = \strpos($requestUri, '/', $pos1);
58 $pos2 = false !== $pos2 ? $pos2 : \strlen($requestUri);
61 $uriSegment = \substr($requestUri, 0, $pos2);
72 return \substr_replace($requestUri, $escapedUriSegment, 0, $pos2);