Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

http: verify http method is a valid http token #9076

Closed
wants to merge 1 commit into from

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Jan 22, 2015

RFC 2616/7230 requires that http method conform to
the token rule. This adds a check to verify that there are
no invalid characters in the method. If there are, then
we throw, otherwise fall through and continue.

Replacement for #9017 based on
feedback.
Targeted at v0.10

(I have a version targeted at v0.12 just in case).

RFC 2616/7230 requires that http method conform to
the token rule. This adds a check to verify that there are
no invalid characters in the method. If there are, then
we throw, otherwise fall through and continue.

Replacement for nodejs#9017 based on
feedback.
Targeted at v0.10
@jasnell
Copy link
Member Author

jasnell commented Mar 5, 2015

cc @joyent/node-coreteam ... can we get a review on this one? does it still make sense to target this to v0.10 or should I rebase it on v0.12?

@trevnorris
Copy link

@jasnell v0.10 is basically in maintenance, so unless this is a bug fix I'd just rebase on v0.12.

@jasnell
Copy link
Member Author

jasnell commented Mar 5, 2015

+1... I suspected as much. Will rebase and resubmit.

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

Successfully merging this pull request may close these issues.

None yet

4 participants