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

Disable http requests on config #18063

Merged
merged 2 commits into from Sep 27, 2021
Merged

Disable http requests on config #18063

merged 2 commits into from Sep 27, 2021

Conversation

justinvelluppillai
Copy link
Contributor

Description:

fixes #17589

Recreating #18014 to fix travis build errors.

Review

@justinvelluppillai justinvelluppillai added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Sep 26, 2021
@justinvelluppillai justinvelluppillai added this to the 4.6.0 milestone Sep 26, 2021
@tsteur tsteur merged commit e05ed3f into 4.x-dev Sep 27, 2021
@tsteur tsteur deleted the 17589-disable-http-config branch September 27, 2021 01:13
@Findus23
Copy link
Member

Findus23 commented Oct 1, 2021

@justinvelluppillai Maybe I am missing something obvious, but doesn't this change still make the requests if they are disabled and just removes the end result from the display?

If so, it doesn't help with #17589, right?

@justinvelluppillai
Copy link
Contributor Author

@Findus23 it doesn't make any requests if the config is set to 0, it returns early before computeAccessiblePaths() is called.

@Findus23
Copy link
Member

Findus23 commented Oct 2, 2021

@justinvelluppillai You are right. Sorry, I completly misread the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add config option to disable http requests in System Checks to prevent server crashes with mod_security
3 participants