Update SecurityMiddleware.php
OC::$WEBROOT can be empty in case if your nextcloud installation has no url prefix. This will result in an empty Location Header. in other areas OC::$WEBROOT is always used together with an /
Showing
- lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php 1 addition, 1 deletion...e/AppFramework/Middleware/Security/SecurityMiddleware.php
- tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php 1 addition, 1 deletion...pFramework/Middleware/Security/SecurityMiddlewareTest.php
Please register or sign in to comment