core icon indicating copy to clipboard operation
core copied to clipboard

NavResult isActive is resulting in false positives.

Open austindlawless opened this issue 11 years ago • 2 comments

NavResult.isActive is returning true when it shouldn't.

Example: If the requestUri='/loans/personal-loans.html' the paths like '/personal' should not match though '/loans' should. Currently a path of '/personal' would return true though it should not.

austindlawless avatar Mar 10 '15 21:03 austindlawless

Fixed, Tested on nightly build 2015-03-13 // Postgres // FF

bryanboza avatar Mar 16 '15 20:03 bryanboza

isActive still returns false positives in 3.2.3 because of req.getRequestURI().startsWith(href)

When the requestURI is '/documentation/sdk/javascript', the method returns true for a page on path '/documentation/sdk/java'.

jorith88 avatar Aug 11 '15 09:08 jorith88