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.
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
Add more options for global URL parameter exclusions #22729
base: 5.x-dev
Are you sure you want to change the base?
Add more options for global URL parameter exclusions #22729
Changes from 44 commits
3abdabe
6ff6084
baf1d9d
d0fb658
0f30e6d
8efbeef
8269536
4d9cd4d
75db8c4
639ddcc
cd39b1a
84dfef1
297f59e
7a5b07a
8949a69
a53ba24
21b31db
e414625
73c8350
a6fec12
c8d080d
36161ad
da7bd72
b623614
9288ac5
4869ad7
6b93491
c5d3fad
9ea605a
b541e1a
4c305c7
3af38c1
1476f50
d9236c8
69169d2
31864a1
b80ece9
2334c8d
0998402
8200473
4f8e909
b4a9eb9
caa50ca
643fa6f
bfca00e
dc7251b
54ef856
a26b1c9
69dc3fa
a121d18
f973c0c
4ab0b83
14302c9
f9aed0e
3afa175
0787133
4714d7e
ca8ab48
f278b42
cf3f647
f141197
9463b5c
af112f5
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should prefer the constant if we have it.
Though I am wondering why we need that check here, and not also in another place where the query parameters are accessed:
matomo/plugins/SitesManager/SitesManager.php
Lines 335 to 342 in c5d3fad
Is there any special case where these two areas should differ in a way that cannot be managed inside the API methods?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, the controller should be dumb, so I've removed that check. The API handles this already. Take a look and let me know if that's what you are thinking, and you can resolve the thread.