Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-491

Encoded ampersands in URLs terminate parameters

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M1
    • Fix Version/s: None
    • Component/s: Protocol - HTTP
    • Labels:
      None
    • Environment:
      Linux

      Description

      When the following URL is decoded by Asyncweb:

      /snd?r=07390736D7774A7BDC71AB9CD68B163B&i=108&l=1&s=%7B%22msg_type%22%3A%22chat%22%2C%22content%22%3A%7B%22text%22%3A%22that's%20a%20beautiful%20B%26W%20Lara%22%2C%22sender_display_id%22%3A%22chat_175%22%7D%7D&u=1196959695588

      the parameter s should decode to:

      {"msg_type":"chat","content":{"text":"that's a beautiful B&W Lara","sender_display_id":"chat_175"}}

      instead HttpRequest.getParameter("s") truncates before the ampersand:

      {"msg_type":"chat","content":{"text":"that's a beautiful B

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bmarklein Ben Marklein
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: