Forum Discussion

st411ar's avatar
st411ar
Regular Visitor
7 years ago
Solved

Issue: double encoding in swagger-ui

I faced with this issue again at the Swagger Hub in a formData string parameter of the content-type "application/x-www-form-urlencoded". String "% @" are encoded to "%2525%2520%2540" instead of "%25%20%40".

  • Hi James,

     

    We actually just pushed a hotfix for this yesterday, so it's fresh out.

     

    I just verified online and '[' and']' seem to be properly encoded now as %5B and %5D.

     

    Please let us know if it doesn't work for you.

     

    Thanks,
    Fernando

3 Replies

  • fbmattos's avatar
    fbmattos
    SmartBear Alumni (Retired)

    Hi-

     

    We're looking into this. Will keep you in the loop once we have an ETA for a fix.

     

    Regards,

    Fernando

    • jmagin's avatar
      jmagin
      New Member

      Hi, I also have the same problem regarding encoding of [ and ] - these are now encoded as %255B and %255D respectively when I think they should be %5B and %5D.

       

      Can you please update me on any fix ETA.

       

      Many Thanks

      James

      • fbmattos's avatar
        fbmattos
        SmartBear Alumni (Retired)

        Hi James,

         

        We actually just pushed a hotfix for this yesterday, so it's fresh out.

         

        I just verified online and '[' and']' seem to be properly encoded now as %5B and %5D.

         

        Please let us know if it doesn't work for you.

         

        Thanks,
        Fernando