Skip to content
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

Allow CLI URLs without trailing slash #11434

Closed
TomTurnschuh opened this issue Sep 28, 2018 · 2 comments
Closed

Allow CLI URLs without trailing slash #11434

TomTurnschuh opened this issue Sep 28, 2018 · 2 comments

Comments

@TomTurnschuh
Copy link

The occ command maintenance:update:htaccess throws an error saying that the URL is invalid when overwrite.cli.url is the main or a sub domain and does not have a trailing / (E.g. https://cloud.example.com instead of https://cloud.example.com/).

It would be nice if this trailing / was not necessary.

Remark:

I have not tested with nextcloud accessible in a subdirectory such as https://example.com/nextcloud.

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #8971 (403 after allowing pretty URLs in NGINX), #9350 (Change URL with overwrite.cli.url), #11235 (Pretty URLs fail to work if overwrite.cli.url has no trailing slash for the no subfolder case), #10678 (Pretty urls don't work if it's only a domain with no trailing slash), and #6202 (Allow low-level decryption of files (without signature check)).

@TomTurnschuh
Copy link
Author

Duplicate of #10678

@TomTurnschuh TomTurnschuh changed the title [Optimization] Allow CLI URLs without trailing '/' Allow CLI URLs without trailing '/' Sep 28, 2018
@TomTurnschuh TomTurnschuh changed the title Allow CLI URLs without trailing '/' Allow CLI URLs without trailing slash Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants