Query variable can be no longer than 512 characters

后端 未结 1 626
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-25 17:47

I\'m struggling to read query variables that contain more than 512 characters in the $_GET array. If I parse the query string using parse_string, howev

1条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-25 18:12

    There is a PHP bug report. #50449

    GET parameters with a value longer than 512 characters don't show up in the $_GET and $_REQUEST arrays. We've noticed this since upgrading to 5.3.1

    It says there that it is Suhosin causing the behaviour.

    0 讨论(0)
提交回复
热议问题