Bug #3029 » FLOW3_3029_v2.patch

patches FLOW3/Classes/Utility/Environment.php - Bastian Waidelich, 2009-07-21 19:02

View differences:

Classes/Utility/Environment.php (working copy)
218 218
	public function getRequestURI() {
219 219
		if (isset($this->SERVER['PATH_INFO'])) {
220 220
			$requestURIString = $this->getRequestProtocol() . '://' . $this->getHTTPHost() . $this->SERVER['PATH_INFO'] . (strlen($this->SERVER['QUERY_STRING']) ? '?' . $this->SERVER['QUERY_STRING'] : '');
221
		} else if (isset($this->SERVER['REQUEST_URI'])) {
222
			$requestURIString = $this->getRequestProtocol() . '://' . $this->getHTTPHost() . $this->SERVER['REQUEST_URI'];
221 223
		} else {
222 224
			$requestURIString = $this->getRequestProtocol() . '://' . $this->getHTTPHost() . '/';
223 225
		}
(3-3/3)