View Single Post
Old 03-30-2024, 07:38 AM   #428
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,757
Karma: 7029857
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kiwidude View Post
As for what I can do about it - not much - passing an unencoded slash is usually a terrible idea for an api call when part of the data. And the plugin now encodes every token in the url.
You perhaps could parse the url then only encode the query string arguments, leaving the path alone. This would avoid the unexpected difference between
Code:
URL: http:/foo.com/a/b/c/d
result: http:/foo.com/a/b/c/d
and this, where the column #b contains the characters 'b/c':
Code:
URL: http:/foo.com/a/{#b}/d
result: http:/foo.com/a/b%2Fc/d
chaley is offline   Reply With Quote