kurierjs / kurier

TypeScript framework to create JSON:API compliant APIs
https://kurier.readthedocs.io/en/latest/
MIT License
61 stars 9 forks source link

Redundant escape character in urlData parser regex #298

Closed joelalejandro closed 3 years ago

joelalejandro commented 3 years ago

https://github.com/kurierjs/kurier/blob/0b2e0156fb727fed89da90d6dfff9949bd6c9dbd/src/utils/http-utils.ts#L35-L35

From CodeQL:

The escape sequence '\(' is equivalent to just '(', so the sequence may still represent a meta-character when it is used in a regular expression.