search

Home  >  Q&A  >  body text

javascript - WeChat reports redirect_uri parameter error

Normally no error is reported, but when I add a parameter with a length of 100 Chinese characters, an error is reported? If there is a parameter length limit, what is the length limit? If you know, please let me know.
Link like this

http://a.b.cn/index.html?c=啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
天蓬老师天蓬老师2711 days ago656

reply all(4)I'll reply

  • 三叔

    三叔2017-06-28 09:27:04

    The parameters you pass in are not specified by WeChat, and an error will definitely be reported

    reply
    0
  • 欧阳克

    欧阳克2017-06-28 09:27:04

    Disregarding the redirect_uri issue, the browser itself has a length limit on the url

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-06-28 09:27:04

    Have you done UrlEncode? Besides, the length of the get URL is inherently limited

    reply
    0
  • 漂亮男人

    漂亮男人2017-06-28 09:27:04

    It is probably due to urlencode.

    reply
    0
  • Cancelreply