summaryrefslogtreecommitdiffstats
path: root/lib/request.php
Commit message (Collapse)AuthorAgeFilesLines
* use $_SERVER['SERVER_NAME'] in case $_SERVER['HTTP_HOST'] is not setThomas Müller2013-07-011-2/+8
|
* in case $_SERVER['HTTP_HOST']) is not set let's return localhost - better ↵Thomas Mueller2013-06-171-7/+7
| | | | than nothing
* request.php: add type check to the not empty check of a stringherbrechtsmeier2013-03-091-5/+5
| | | | | | | | The not equal comparison (<>) of a variable with an empty string could lead to false positive results as the compare do not check the type and thereby could not make sure that the checked variable is a string. The usage of the not identical comparison operator (!==) make sure that the variable is a string and not empty.
* Overwrite host and webroot when forcessl is enabledherbrechtsmeier2013-03-091-3/+4
| | | | | | | | This patch enables the use of forcessl together with a multiple domains reverse SSL proxy (owncloud/core#1099) which have different hostname and webroot for http and https access. The code assumes that the ssl proxy (https) hostname and webroot is configured via overwritehost and overwritewebroot.
* Use the plain urlencoded path info for the routing matchingBart Visscher2013-02-271-1/+14
|
* Whitespace fixesBart Visscher2013-02-221-1/+1
|
* Whitespace indent fixesBart Visscher2013-02-141-2/+2
|
* add a custom header clients can use to skip a n additional propset requestJörn Friedrich Dreyer2013-02-111-0/+12
|
* add SSL proxy supportherbrechtsmeier2013-01-311-4/+13
| | | | | | | | | Add support for a reverse proxy that only forwards SSL connections unencrypted to the web server. This patch allows to detect the reverse proxy via regular expression for the remote IP address and conditional overwrite the host name, protocol and web root.
* add multiple domains reverse proxy supportStefan Herbrechtsmeier2013-01-311-0/+32
| | | | | | | | | | | | Add support for a reverse proxy that handles multiple domains via different web roots (http[s]://proxy.tld/domain.tld/owncloud). As the reverse proxy web root is transparent for the web server the REQUEST_URI and SCRIPT_NAME need manual adjustments. This patch replace the direct use of this _SERVER variables with function calls and extend this functions to overwrite the web root. Additionally it adds a Sabre request backend that extends the Sabre_HTTP_Request to use the same functions.
* Whitespace cleanupBart Visscher2013-01-161-2/+2
|
* Fix "There must be a single space between the closing parenthesis and the ↵Bart Visscher2012-12-151-2/+2
| | | | opening brace"
* Fix "Line indented incorrectly"Bart Visscher2012-12-151-1/+1
|
* make it possible to manually override the hostname and protocol if the ↵Frank Karlitschek2012-11-221-0/+6
| | | | automatic detection from ownCloud fails. This can happen in reverse proxy situations or with loadbalancers setups.
* Checkstyle fixes: NoSpaceAfterCommaFelix Moeller2012-11-041-2/+2
|
* adding space between) and {Thomas Mueller2012-09-071-2/+2
|
* Remove () from return statementBart Visscher2012-09-041-1/+1
|
* Decode the alternative path_infoBart Visscher2012-08-071-0/+11
|
* Move getting the path info to OC_RequestBart Visscher2012-08-071-0/+13
|
* Add comments the other functions in OC_RequestBart Visscher2012-08-071-0/+8
|
* Move serverHost and serverProtocol functions to OC_RequestBart Visscher2012-08-071-0/+45
|
* Fix errors for minimizerBart Visscher2012-06-181-0/+3
|
* Cache the minimized output also on the serverBart Visscher2012-06-181-0/+25