Skip to content
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

bgpmap/?q={"....."} strings can get too long for GET #15

Open
tbaschak opened this issue Jul 22, 2016 · 2 comments
Open

bgpmap/?q={"....."} strings can get too long for GET #15

tbaschak opened this issue Jul 22, 2016 · 2 comments

Comments

@tbaschak
Copy link

I've noticed occasional broken images on some bgpmaps from the NLNOG RING LG, and upon deeper investigation some prefixes which contain longer AS-PATHs (usually those with multiple prepends) which are visible via significant chunks of the internet generate a very long bgpmap/?q={"....."} URL to the image generation script. I've seen some over 9500 characters.

An example of such a prefix. If you click the broken image link you'll likely get a HTTP 414 "Request URI too long" error.

Potential workaround to the problem:
Clicking the link to view the image full size could be a form submission and use POST, however I don't know how you'd go about solving that for the thumbnail that is currently linked to the full size image.

@mweinelt
Copy link

@tbaschak
Copy link
Author

Had @job test this workaround on the webserver side of the NLNOG Ring LG and it seems to be working.
With a documentation update/note, this could likely resolve the problem for many people and would require no code effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants