-
Notifications
You must be signed in to change notification settings - Fork 331
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
Defining Access-Control-Expose-Headers parsing #827
Comments
I can't find the code in Chrome to handle Access-Control-Expose-Headers - it may use string composition, or some other mechanism. Looking at the tests, I don't think any inconsistencies in Chrome are too likely to be related to https://crbug.com/896233 - that would only basically affect handling of the ",bb-8" and "Access-Control-Expose-Headers: bb-8,,@#$#%%&^&^*()()11!" tests, and I think the buggy old behavior would actually have made the first one more likely to have Chrome pass the test, and have no effect on whether the second one does. |
I did search for NamesStorage[8], but I wasn't creative enough in my searches through obfuscated code. :( |
@MattMenke2 right, Chrome now fails the (Still looking for thoughts on ABNF versus fully-defined parsers. I'm somewhat inclined to go with the latter, but I'll do some more research.) |
I find both the ABNF and text pseudo code a bit hard to follow, but the fully-defined parser option tends to allow for much less ambiguity, so that's what I'd prefer. |
This is for #814. There's basically two ways to do this:
Or say something about parsing per the ABNF:
(This doesn't always work since some stuff isn't really parsed per ABNF per se, but just literally compared or parsed differently due to compatibility reasons, but it could maybe work here, except it seems less clear to me and it's not entirely clear how ABNF maps to data structures and stuff.)
cc @mnot
The text was updated successfully, but these errors were encountered: