False positives for active Links
See original GitHub issueThe current implementation of pathnameIsActive
gives false positives for what I’d expect to be a fairly common case: numbers in path parameters.
Just hit this in v1.0.0-beta2 in an app which is using the index of some items in an array as a parameter. Once you start hitting double-digit numbers, you get false positives from single-digit numbers.
In this example, the URL is /1/10
and links for both /1/1
and /1/10
are marked active.
Issue Analytics
- State:
- Created 8 years ago
- Comments:28 (12 by maintainers)
Top Results From Across the Web
Threat Hunting False Positives
These signs we get from a Threat Hunting tool include clear signs of both malicious activity and legitimate traffic. The legitimate traffic, ...
Read more >"This link is malicious" false-positive on messages recieved ...
We are encountering issues with recipients having links in our sent emails as being marked as malicious by Outlook Advanced Threat ...
Read more >Identifying False Positives in Email Clicks - Act-On Connect
Identifying False Positives in Email Clicks ... Ignore clicks on the View in Browser Link from Reports; Ignore Known IP Addresses.
Read more >Vulnerability scans and false positives: the importance of ...
Web application scanning tools will automatically review a website by crawling through all its links, reviewing each page using an algorithm to ...
Read more >The "false positive paradox" and risks of testing ...
Even a test with a very high 99% specificity (1% chance of false positives), when used to screen asymptomatic populations with a low...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think #1842,
<IndexRoute/>
and<IndexLink/>
address almost everything here.Only thing missing is “I am active only when I’m the deepest active route”, would love for somebody to create a
<ExactLink/>
or<Link to="/wherever" exact/>
or something.IndexLink
in RC4 actually does behave like theExactLink
described above - there wasn’t an easy way to get it to work otherwise.