jsf_interpolate_vars does not escape special regex symbols ($ and &)
Bug #561777 reported by
e.fryntov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
psiphon |
Fix Committed
|
High
|
e.fryntov |
Bug Description
Bug behavour:
Special regex symbols such as '$1'-'$9' and '&' in the replacement string are not escaped and substituted with corresponding matches.
Example:
Consider the following search-and replace rule
domain:xyz.com
path: /
search: ABC
replace: ${psiphon_
Any occurrence of 'ABC' for http://
Now, if we visit http://
Changed in psiphon: | |
importance: | Undecided → High |
assignee: | nobody → e.fryntov (e-fryntov) |
visibility: | private → public |
Changed in psiphon: | |
status: | New → Fix Committed |
To post a comment you must log in.