Skip to content

Escaping URL strings when running get do;end blocks. #5

@stanislaw

Description

@stanislaw

I wonder, if http_spec does not escape request strings intentionally or this could be added as a feature?

For example if I write this request with semicolon escaped

get "/api/v1/places?bounds=46.28,30.53%3B46.59,31.73" do
end

then Sinatra (it serves to mock server api I run http_spec against) populates params hash correctly and vice versa if I write semicolons as is.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    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