\OC\AppFramework\Http\Request::getRawPathInfo does not correctly parse app name from URLs with "."
#5853
Labels
1. to develop
Accepted and waiting to be taken care of
bug
good first issue
Small tasks with clear documentation about how and in which place you need to fix things in.
low
\OC\AppFramework\Http\Request::getRawPathInfo apparently does not work correctly with dots in path.
In remote.php $request->getPathInfo() for this path:
https://example.com/remote.php/dav/files/gadelat/Dropbox/src/php/AppEventDispatcher/vendor/kevinlebrunit will return
/dav/files/gadelat/Dropbox/src/php/AppEventDispatcher/vendor/kevinlebrun,but this path
https://example.com/remote.php/dav/files/gadelat/Dropbox/src/php/AppEventDispatcher/vendor/kevinlebrun/colors.php/will return
remote.php/dav/files/gadelat/Dropbox/src/php/AppEventDispatcher/vendor/kevinlebrun/colors.php/which causes it to not find correct app and therefore returns 502 error
The text was updated successfully, but these errors were encountered: