Skip to content

Invalid URI encoding with CGI.escape() #28

@dumbbell

Description

@dumbbell

The client uses CGI.escape() to escape path segments in the created URLs. Unfortunately, this module produces invalid path segments: it transforms spaces to +. This is fine for query string, but not path segments.

Newer versions of Cowboy, which have a stricter URL parsing, leave the + characters alone. So when a user of this HTTP client wants to create eg. a vhost with a space in it, he ends up with a vhost with a +.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions