You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have issues when passing really long URL through Sanic. It uses httptools.parse_url for parsing URL in Request object.
It seems that problem is in C++ integer limitations (values from 0 to 65535 (2**16-1)).
So, If URL is longer 65535 symbols - it will be trimmed. https://github.com/MagicStack/httptools/blob/master/httptools/parser/parser.pyx#L406
Is it possible to implement bigint instead of int variable in httptools.parse_url or smth like that for such cases? :)
Thanks
The text was updated successfully, but these errors were encountered:
We have issues when passing really long URL through Sanic. It uses httptools.parse_url for parsing URL in Request object.
It seems that problem is in C++ integer limitations (values from 0 to 65535 (2**16-1)).
So, If URL is longer 65535 symbols - it will be trimmed.
https://github.com/MagicStack/httptools/blob/master/httptools/parser/parser.pyx#L406
Is it possible to implement bigint instead of int variable in httptools.parse_url or smth like that for such cases? :)
Thanks
The text was updated successfully, but these errors were encountered: