Commit Graph

3 Commits

Author SHA1 Message Date
qiongshusheng
4840cb2bd0
fix: regular expression denial of service issues (#6708)
* fix: Regular Expression Denial of Service (ReDoS)

* fix test failed
2024-11-15 09:29:49 +02:00
Lochlan Bunn
fe7d09bb08 Fixing combineURLs to support an empty relativeURL (#581)
* Fixing combineURLs to support an empty relativeURL

When combining the base and relative URLs, we should forego force
appending a slash to the base when the relative URL is empty.
This leads to a semantic url.

* Fixing combineURLs, allowing single slash relatives
2016-12-07 21:23:45 -08:00
Nick Uraltsev
e253b0ef3e Add combineURLs helper 2015-11-21 17:41:02 -08:00