Skip to content
Snippets Groups Projects
Commit a54da468 authored by mechanik20051988's avatar mechanik20051988 Committed by Kirill Yukhin
Browse files

uri: fix incorrect parse of unix socket URI with query

Previously in case when unix socket URI with query didn't
contain "unix/:" prefix, parsing of this URI was incorrect.
For example "/unix.sock?q=v" was parsed into "path: /unix.sock"
and "query: x=y" instead of "host: unix/", "service: /unix.sock",
"unix: /unix.sock" and "query: x=y". Now parsing of unix socket
URI is independent from "unix/:" prefix and correct.
Pay attention, all parsing logic is realized in uri.rl file which
compiled in uri.c using 'ragel'.

Part of #5928
parent 2a40dada
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment