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

ACT Web Server returns 500 when headers are duplicated #7

Closed
EQAditu opened this issue Aug 28, 2019 · 0 comments
Closed

ACT Web Server returns 500 when headers are duplicated #7

EQAditu opened this issue Aug 28, 2019 · 0 comments
Labels
bug Something isn't working fixed for next release The fix will be available in the next release
Milestone

Comments

@EQAditu
Copy link
Owner

EQAditu commented Aug 28, 2019

System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Advanced_Combat_Tracker.FormActMain.ActWebConnection.ParseHeaders()
at Advanced_Combat_Tracker.FormActMain.ActWebConnection.ProcessGet()
at Advanced_Combat_Tracker.FormActMain.ActWebConnection.ProcessRequest()
at Advanced_Combat_Tracker.FormActMain.ActWebConnection.Update()

HTTP RFC2616:

Multiple message-header fields with the same field-name MAY be present in a message if and only if the entire field-value for that header field is defined as a comma-separated list [i.e., #(values)]. It MUST be possible to combine the multiple header fields into one "field-name: field-value" pair, without changing the semantics of the message, by appending each subsequent field-value to the first, each separated by a comma. The order in which header fields with the same field-name are received is therefore significant to the interpretation of the combined field value, and thus a proxy MUST NOT change the order of these field values when a message is forwarded

@EQAditu EQAditu added the bug Something isn't working label Aug 28, 2019
@EQAditu EQAditu added this to the r262 milestone Aug 28, 2019
@EQAditu EQAditu added the fixed for next release The fix will be available in the next release label Aug 28, 2019
@EQAditu EQAditu closed this as completed Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed for next release The fix will be available in the next release
Projects
None yet
Development

No branches or pull requests

1 participant