Error in call to mochiweb:new_request #409

Closed
mworrell opened this Issue Sep 12, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@mworrell
Member

mworrell commented Sep 12, 2012

Found this error in one of our live sites:

2012-09-10 11:29:16.623 [error] <0.26206.307> CRASH REPORT Process <0.26206.307> 
with 0 neighbours crashed with reason: no function clause 
matching mochiweb:new_request({#Port<0.1781020>,{"Mobile","Safari/533.1",{0,9}},
[{'Cookie',"z_pid=H3ajCHTTw9kb0697ieSM; z_sid..."},...]})

Might be something specific for the user agent, this needs to be checked.

@arjan

This comment has been minimized.

Show comment
Hide comment
@arjan

arjan Apr 17, 2014

Member

Looks like a crash in mochiweb when a malformed request is sent. From the log files I can see that a user agent tries an HTTP request like this:

GET $uri../../../../../etc/passwd%00

Don't think we should take any action.

Member

arjan commented Apr 17, 2014

Looks like a crash in mochiweb when a malformed request is sent. From the log files I can see that a user agent tries an HTTP request like this:

GET $uri../../../../../etc/passwd%00

Don't think we should take any action.

@arjan arjan closed this Apr 17, 2014

@mworrell

This comment has been minimized.

Show comment
Hide comment
@mworrell

mworrell Apr 17, 2014

Member

I agree, if a request is malformed, then crashing is a valid end of the request.

Member

mworrell commented Apr 17, 2014

I agree, if a request is malformed, then crashing is a valid end of the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment