mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
🐛 Fixed url decoding issue - URLs sent in emails containing a % can now be updated(#20518)
fixes https://linear.app/tryghost/issue/ENG-447/🐛-urls-sent-in-emails-containing-a-percent-can-not-be-updated URLs were decoded before making a search query to the db. This is the reason the `%2F` character gets converted to `/`. This decoding is not required.
This commit is contained in:
parent
b36c2356fc
commit
bec647412f
1 changed files with 0 additions and 3 deletions
|
@ -105,9 +105,6 @@ class LinkClickTrackingService {
|
|||
* @throws {errors.BadRequestError}
|
||||
*/
|
||||
#parseLinkFilter(filter) {
|
||||
// decode filter to manage any encoded uri components
|
||||
filter = decodeURIComponent(filter);
|
||||
|
||||
try {
|
||||
const filterJson = nql(filter).parse();
|
||||
const postId = filterJson?.$and?.[0]?.post_id;
|
||||
|
|
Loading…
Reference in a new issue