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

fixed path substring parameters in webserver.cpp #2

Merged
merged 1 commit into from Mar 3, 2020

Conversation

Carnageous
Copy link
Contributor

The substring to get the path of the HTTP request was set to 3 for GET/PUT requests etc. However for request types with different amount of characters, the length of the request type string should be used ("POST", "DELETE"...).

Because of this when using a request type which string length != 3 the request path was not parsed correctly.

The substring to get the path of the HTTP request was set to 3 for GET requests. However for request types with different length the length of the request type string should be used ("POST", "DELETE"...)
@vyacheslavisaev
Copy link

I support this change. Had a similar issue with the POST request.

@Carnageous
Copy link
Contributor Author

Ping @ReneNyffenegger would like to merge this? Otherwise I'd close this PR in order to clean up my Notification/work list

@ReneNyffenegger
Copy link
Owner

@Carnageous sorry for not replying to your pull request. I am currently busy but I will take a look at it tonight, after work.

@ReneNyffenegger ReneNyffenegger merged commit 17345cb into ReneNyffenegger:master Mar 3, 2020
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

Successfully merging this pull request may close these issues.

None yet

3 participants