grep links for test names with dots "." don't get escaped correctly.
Steps to Reproduce:
- Create a test whose suite name contains a dot, for example "crud-behavior-basic.html"
- Navigate to the test page, for example: http://localhost:5000/test/index.html
- Click on the link to "crud-behavior-basic.html"
Expected result: Link reduces the tests to be run to those inside crud-behavior-basic.html file. Generated link has: grep=crud-behavior-basic.html
Actual result: No tests are run. Generated link has: grep=crud-behavior-basic%5C.html
Related bug: https://github.com/mochajs/mocha/issues/1687 Related PR: https://github.com/mochajs/mocha/pull/1698
It appears the following line of code is overzealous. Replacing the . with %5C https://github.com/benvinegar/mocha/commit/3166e701a356d472656878ae78e5b819099f95d9#diff-998e3fb668a2094eedccab3e56199e4fR204