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

Better fix for climulti segment encoding bug #17004

Merged
merged 5 commits into from Dec 23, 2020

Conversation

diosmosis
Copy link
Member

Description:

https://forum.matomo.org/t/archive-web-cron-raises-invalid-log-visit-config-device-type/39981 occurs because double encoding the segment for curl requests does NOT work. Turns out the reason it's needed for climulti is because climulti does not set $_SERVER['QUERY_STRING'], but in Request that's where we get the segment variable passed on to API methods. This PR has the correct fix which is to set that server variable in RequestCommand.

Review

  • Functional review done
  • Usability review done (is anything maybe unclear or think about anything that would cause people to reach out to support)
  • Security review done see checklist
  • Code review done
  • Tests were added if useful/possible
  • Reviewed for breaking changes
  • Developer changelog updated if needed
  • Documentation added if needed
  • Existing documentation updated if needed

@diosmosis diosmosis added the Needs Review PRs that need a code review label Dec 23, 2020
@diosmosis diosmosis added this to the 4.2.0 milestone Dec 23, 2020
@diosmosis diosmosis added the Regression Indicates a feature used to work in a certain way but it no longer does even though it should. label Dec 23, 2020
@diosmosis diosmosis merged commit ddfa42e into 4.x-dev Dec 23, 2020
@diosmosis diosmosis deleted the climulti-disabled-segment-encoding branch December 23, 2020 23:42
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 Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant