QUAL set AcceptPathInfo Off in Apache conf as recommended - #110
Closed
JonBendtsen wants to merge 1 commit into
Closed
QUAL set AcceptPathInfo Off in Apache conf as recommended#110JonBendtsen wants to merge 1 commit into
JonBendtsen wants to merge 1 commit into
Conversation
Member
|
Hello, Won't this break the API routing? Have you tested with the API as well? |
Contributor
Author
I would say no, but I have not tried the API explorer, only with hurl tests yeah, it does seem to break the API explorer, so maybe we either need to give up, make an exception for the acceptpath Either way, I think this page should be updated |
Contributor
Author
|
nope, even inside a Location it will not work once acceptpath is off. I'll update the wiki with a warning that it will influence the API explorer - but seemingly not the API calls itself. Here's an idea. One could run the API in a different container which did allow acceptpath, but the main dolibarr container did not. But that's for specialists |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
QUAL set AcceptPathInfo Off in Apache conf as recommended
Applying this PR would change the Dockerfile such that the image is built with Apache configuration that set
AcceptPathInfo Offwhich is recommended by Dolibarr itselfhttps://wiki.dolibarr.org/index.php/Security_information
I tested this with hand changes in Dolibarrs official docker image for develop