You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If website has nginx restricted access by auth_basic_user_file $httpRequest->getUrl()->getAbsoluteUrl() returns path with auth parameters included
#215
Closed
tkorcina opened this issue
Aug 18, 2022
· 1 comment
When I use the $httpRequest->getUrl()->getAbsoluteUrl() on website on nginx with restricted basic authorization
(auth_basic_user_file directive with a path to the .htpasswd file) it returns the path with the login and unhashed password from the file.
Version: v3.1.6
Bug Description
When I use the $httpRequest->getUrl()->getAbsoluteUrl() on website on nginx with restricted basic authorization
(auth_basic_user_file directive with a path to the .htpasswd file) it returns the path with the login and unhashed password from the file.
https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/
Example:
.htpasswd file:
echo $httpRequest->getUrl()->getAbsoluteUrl() returns:
The text was updated successfully, but these errors were encountered: