Customer Portal

Invalid uri: invalid request error

Comments 3

  • Avatar
    admin
    0
    Comment actions Permalink
    Hi pOctavian,

    in uri must be escaped special characters:


    http://www.mydoman.com/add-trackingInfo?id=212&order_id=11&tracking_number=9400110200793596422910&carrier=USPS&ship_date=2011-04-08&items%5bABCD1234%5d=2&cost=4.47


    ...in this case "[" and "]". See for example http://www.blooberry.com/indexdot/html/ ... coding.htm for reference.
  • Avatar
    poctavian
    0
    Comment actions Permalink
    Hi kubosj,

    Thanks for your help. It's now working.

    I tried using escapeUrl() to automatically look for especial characters that must be escaped and it's not working. I tried escapeUrl(http://www.mydomain.com/add-shipment?id=111&items[122]=2) and it's not encoding the special characters.

    Any thoughts?

    Thanks.
  • Avatar
    admin
    0
    Comment actions Permalink
    Hi pOctavian,

    it is bug, I reported it: https://bug.javlin.eu/browse/CL-2238 (workaround contained)

    Thank you for reporting!

Please sign in to leave a comment.