-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
does not execute and a large SQL query works when changing part of the code #917
Comments
they helped me find the problem. The problem is in nginx, which has a small value for the URL length.
When resending a request, the request leaves the long URL address and in the browser's address bar builds an old request with an old address. This long address is not accepted by the server. the first time you request an SQL query, it can be sent of any length because the URL is short. but a second request will not work because it comes from another long URL. Is it possible to switch completely to a POST request and not use the |
Thank you for debugging this. Adminer actually doesn't use the URL parameter for anything in this case. It puts it there only to be available in the browser history so that you can quickly go back to it. There was a 2K limit just for the length of the command, I've shortened it to 500. |
I looked at the average URL length for working with a database. Approximately 300 to 700 characters. I think the settings in other servers will be at least 1024 characters URL. Maybe increase the URL size a little so as not to cut the link? I think approximately from 500 to 800 characters, and there will still be 224 characters in reserve. |
Adminer version: 5.0.5
Driver: PostgreSQL
Database version: 16
I'm trying to output several tables for analysis.
I see the code it worked well. then I change part of the SQL code and re-execute the query.
the request goes to the server, there are no problems in the logs, but nothing changes on the screen
if i reduce the size of the request then everything works fine
The text was updated successfully, but these errors were encountered: