Commit 2880238
fix: ReDoS referrer (#1611)
* fix ReDoS referrer
* Update src/utils/referrer.js
Eliminate regex and use string matcher
Co-authored-by: Linus Unnebäck <[email protected]>
Co-authored-by: Khang. Võ Vĩ <[email protected]>
Co-authored-by: Linus Unnebäck <[email protected]>1 parent e87b093 commit 2880238
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments