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

Site search query parameter is ignored if it is in a fragment. #13971

Closed
jmumby opened this issue Jan 17, 2019 · 0 comments · Fixed by #13978
Closed

Site search query parameter is ignored if it is in a fragment. #13971

jmumby opened this issue Jan 17, 2019 · 0 comments · Fixed by #13978
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@jmumby
Copy link

jmumby commented Jan 17, 2019

If a URL like path/to/page#this-location?q=word is used the q parameter is ignored. If a URL like path/to/page#this-location&?q=word is used then the query is added to the site search results. The expectation is that any URL with a valid search parameter will work.

It seems Matomo concatenates the querystring and the fragment with an & and then tries to parse the whole string as querystring

On some systems it is not possible to modify the URL to append an & so the site search report does not record these queries.

@sgiehl sgiehl self-assigned this Jan 20, 2019
@sgiehl sgiehl added the Bug For errors / faults / flaws / inconsistencies etc. label Jan 20, 2019
@diosmosis diosmosis added this to the 3.9.0 milestone Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants