You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2023/10/26 12:15:49 UTC
[I] A long user name in "edit user" can break the webserver [airflow]
potiuk opened a new issue, #35196:
URL: https://github.com/apache/airflow/issues/35196
### Body
We should limit the allowed payload for parameters (name/ passed to user edit as it might break the webserver.
Once you send really huge payload, the webserver (millions of characters) the webserver might simply render unsable.
### Committer
- [X] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] A long user name in "edit user" can break the webserver [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #35196:
URL: https://github.com/apache/airflow/issues/35196#issuecomment-1782020679
IMHO (regardless who is at fault) this is robably something that is easiest to handle by Airflow.
For this kind of isse in general it is probably best to hanle it as early as possible in "POST request" lifetime - either either at the guncorn or flask level - once the data get passed to WTF or FAB it's probably too late.
Likely setting the righ value fo:
```
app.config['MAX_CONTENT_LENGTH'] = limit_in_mb * 1024 * 1024
```
Should fix the problem.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] A long user name in "edit user" can break the webserver [airflow]
Posted by "jedcunningham (via GitHub)" <gi...@apache.org>.
jedcunningham commented on issue #35196:
URL: https://github.com/apache/airflow/issues/35196#issuecomment-1781979070
Is this an Airflow issue or a FAB issue?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] A long user name in "edit user" can break the webserver [airflow]
Posted by "hussein-awala (via GitHub)" <gi...@apache.org>.
hussein-awala closed issue #35196: A long user name in "edit user" can break the webserver
URL: https://github.com/apache/airflow/issues/35196
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org