r/programminghorror • • Oct 23 '26

GitHub's HTTP header

Post image

This is the crazy thing I've found after analysis why the CI test fails with "Maximum header size exceeded" today.

964 Upvotes

53 comments sorted by

View all comments

Show parent comment

29

u/AyrA_ch Oct 23 '26

They also allow raw.githubusercontent.com which serves user defined files, so serving unspecified 3rd party content is not the primary concern here to not use an asterisk.

4

u/Joniator Oct 24 '26

Cant be sure, maybe they only query well known paths, then raw.githubusercontent.com would be fine, some random guys blob who controls that storagr wouldnt.

But thats grasping at straws, i dont think they had concern for anything but that was the fix for some issue they didn't understand enough to come up with a reasonable solution.