Commit Graph

14 Commits

Author SHA1 Message Date
Frédéric Guillot 463dfbf4fe Fix incorrect parameter encoding when using URLs rewriting
A parameter with quotes or other special characters should be url encoded.

Incorrect encoding could happen when using search queries like this one:

modified:">=2023-04-01"
2023-04-19 21:37:19 -07:00
peter af8159b4bb Allow full name to be retrieved by SSO ReverseProxy
Expand on #4585 by also getting the user's full name from the Reverse Proxy:
If a ReverseProxy provides more than REMOTE_USER, such as email, it might
as well also provide the user's full name.
2023-02-18 17:28:39 -08:00
Frédéric Guillot f5bb55bdb8
PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
mildis 33c3b32cda
Allow email to be retrieve by SSO ReverseProxy
If REMOTE_EMAIL header is set, use it as user email.
If REVERSE_PROXY_DEFAULT_DOMAIN is set but not REMOTE_EMAIL, use the current construct.
2020-08-28 22:59:59 -07:00
Frederic Guillot 2cac4c811d Add workaround when IE11 submit corrupted multipart/form-data 2017-01-14 13:44:57 -05:00
Frederic Guillot 4364559805
Handle HTTP header X-Real-IP to get IP address 2016-07-16 14:11:14 -04:00
Frederic Guillot 67b8361649 Refactoring: added controlled middleware and changed response class 2016-05-15 18:31:47 -04:00
Frederic Guillot c7cceade96 Handle state in OAuth2 client 2016-03-27 12:23:18 -04:00
Frederic Guillot 8f3e2b2e5c Helper refactoring 2016-03-04 20:10:34 -05:00
Frederic Guillot a22476ffdf Added support for HTTP header "X-Forwarded-Proto: https" 2016-02-28 20:00:11 -05:00
Frederic Guillot b34e151d6a Use mock object instead of FakeHttpClient class 2016-02-07 12:32:47 -05:00
Frederic Guillot 6f9af3659c Added the possiblity to define custom routes from plugins 2015-12-22 19:06:03 +01:00
Frederic Guillot e9fedf3e5c Rewrite of the authentication and authorization system 2015-12-05 20:31:27 -05:00
Frederic Guillot a2ebc6c3b2 Move some classes to namespace Core\Http 2015-10-25 18:11:49 -04:00