Menu

#4819 (ok 4.4.1) Request URI too large

4.3.11
fixed
None
Normal
2015-04-07
2015-03-24
No

phpMyAdmin sometimes creates very large URIs when using the "edit" or "delete" funtions of the result set grid view.

Uppon submit, the web server complains "Request URI too large". I remember a time, when phpMyAdmin switched over from GET to POST requests for such long requests. Is this still implemented?

A co-worker even managed to get phpMyAdmin 4.3.11.1 to create a 90k(!) URI. As far as I know HTTP RFC suggest a maximum URI length of 1k to 4k. 90k certainly is much too much.

I played around a bit on the demo server and getting a 2k URI is quite trivial to achieve.

Kind-of reproduction:

1) set up table according to attachment
2) issue query "SELECT * FROM tbl ORDER BY id1 ASC,id2 ASC,val DESC"
3) select all records
4) with selected: change

The created URI is about 2.5k long.

1 Attachments

Discussion

  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne
     
  • Madhura Jayaratne

    • summary: Request URI too large --> (ok 4.4.1) Request URI too large
    • status: open --> resolved
     
  • Marc Delisle

    Marc Delisle - 2015-04-07
    • Status: resolved --> fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.