stack-overflow-copy-paste
stack-overflow-copy-paste copied to clipboard
refactor(getQueryStringParam): Escape all regex special characters in…
… the name parameter.
Currently the method is escaping only for the "[" and "]". The main idea is to escape all special characters that can be used in the regex expression itself.
Current coverage is 100.00%
Merging #24 into master will not affect coverage as of
9c890e3
@@ master #24 diff @@
======================================
Files 7 7
Stmts 26 26
Branches 0 0
Methods 0 0
======================================
Hit 26 26
Partial 0 0
Missed 0 0
Review entire Coverage Diff as of
9c890e3Powered by Codecov. Updated on successful CI builds.
Hi! Thanks for the contribution! A few things:
- The commit message subject is too long. Could you shorten that a bit?
- Could you add a test or two for your improved functionality?
Thanks!