-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highly unusual dot files in URLs #17005
Comments
Sample HTTP requests
|
Yes, I know https://tools.ietf.org/html/rfc5785 but please do not use custom dot files in URLs. |
If the webserver is trying to answer this requests something is wrong with the setup anyway. Usually all requests are processed by nextcloud. Apache2 is only forwarding the requests to index.php, remote.php or public.php. The request for /data/.ocdata is a security check. If a request to this file is possible your data directory might be accessible. Usually for setup issues https://help.nextcloud.com is the best place. |
Thank you, so this should fail. #2513
Should this request succeed? Was it designed to be okay with a dot file? |
For most setups the answer is yes. If you setup a new nextcloud instance please use a different path (outside the document root). I agree with you that if someone blocks access to
I think so. |
All right! Then this issue is about considering avoiding dot files/URLs in NextCloud - like this |
Please use https://github.com/nextcloud/server/blob/master/.github/ISSUE_TEMPLATE/Feature_request.md for your first post then. There is nothing broken because of
#1283 added this |
The We won't change this as it is used by all clients as well. So please update your htaccess file. |
Thank you. |
Would you be willing to shoot in a Pull Request there? |
Could you point out the proper page/section for me? (I am a 1 day old NextCloud user) |
Steps to reproduce
Simply upload and download files. I really do not know the purpose of dot files.
Expected behaviour
Use no dot files in URLs.
Actual behaviour
There are
.ocdata
and.file
in URLs - maybe more dot files.Server configuration
Operating system: Debian jessie
Web server: Apache 2.4
Database: MariaDB
PHP version: 7.3
Nextcloud version: 16
Dot files was invented to be hidden files.
Our webserver was configure to deny serving dot files.
Please consider removing dot files from all NextCloud URLs.
Thank you.
The text was updated successfully, but these errors were encountered: