• Marko Mikulicic's avatar
    Fix url path parsing · 29d6c4ac
    Marko Mikulicic authored
    The url parser had two bugs:
    - `http://example.com` -> `GET // HTTP/1.1`
    - `foo://bar/baz` -> path is `"baz"` instead of `"/baz"`
    
    Now the path returned by  `mg_http_common_url_parse` always
    starts with `/`.
    
    Closes cesanta/mongoose#631
    
    PUBLISHED_FROM=f56ed97361ca14ee31d6ed26cf7afe5cd11e0dc5
    29d6c4ac
mongoose.c 290 KB