Closed bekopharm closed 4 years ago
Affect YarnsMicrosubServer version: 1.0.2 Affected Wordpress version: 5.2.3
Adding a feed formatted with urlencoded parameters like %3A results in invalid feed urls.
%3A
Example
Input: xs=32%3AsA Result: xs=32sA Expected: xs=32:sA
xs=32%3AsA
xs=32sA
xs=32:sA
Consider using the appropriate urldecode() in PHP or decodeURI() / decodeURIComponent() in JS on adding new feeds.
Decoding URLs manually before adding them to a channel works.
Nice catch, I'll try to take care of this and some other small changes this week
Affect YarnsMicrosubServer version: 1.0.2 Affected Wordpress version: 5.2.3
Adding a feed formatted with urlencoded parameters like
%3A
results in invalid feed urls.Example
Input:
xs=32%3AsA
Result:xs=32sA
Expected:xs=32:sA
Consider using the appropriate urldecode() in PHP or decodeURI() / decodeURIComponent() in JS on adding new feeds.
Decoding URLs manually before adding them to a channel works.