inconsistent handling of duplicated search parameter
Open
@majakomel is already working on this.
Since Aug 17, 2022.
bug
- Dominant language
- JavaScript
- Stars
- 92
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
Expected Behavior
For duplicated parameters, I expect repeated parameters to be either ignored or yuxtaposed. The UI seems to indicate that (at least for the domain parameter) they are being added.
Actual Behavior
More than one parameters (in the case of domain, at least) result in a wildcard query.
Steps to Reproduce the Problem
- Open https://explorer.ooni.org/search?since=2022-07-17&until=2022-08-17&failure=true&probe_cc=IR&test_name=web_connectivity&domain=www.facebook.com&domain=www.example.com&probe_asn=AS197207 (duplicated domain) or https://explorer.ooni.org/search?since=2022-07-17&until=2022-08-17&failure=false&test_name=web_connectivity&domain=www.facebook.com&probe_cc=IR&probe_asn=58224&probe_asn=31549 (duplicated asn)
- Observe that the filter by domain or ans is not taken into account.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.