Support » Plugin: JSON API User » How to decode url character encoded

  • Resolved bebslab

    (@bebslab)


    Hi,

    when i pass a cookie as paramater in an http url request, my dev environment (Xcode-Swift) tell me to set with percent encoded characters all character that are considered as ‘unsafe character’ in the url string I want to call.

    So when i call the http request, the ‘|’ character of the cookie is encoded and we have %7C that replace this character. The problem is that the plugin believe that the cookie passed is not the same as the original. How to decode that character in the plugin ?

Viewing 1 replies (of 1 total)
  • Plugin Author Ali Qureshi

    (@parorrey)

    You can do this:

    $cookie = urldecode($cookie);

    In the next update, plugin will be updated for this.

    • This reply was modified 3 days, 20 hours ago by Ali Qureshi.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.