We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When sending a request that contains a non-UTF-8 character raises ArgumentError.
ArgumentError
To recreate the issue:
http://localhost:3000/%B8
Partial Backtrace:
apipie-rails (0.5.19) lib/apipie/static_dispatcher.rb:12:in `gsub' apipie-rails (0.5.19) lib/apipie/static_dispatcher.rb:12:in `match?' apipie-rails (0.5.19) lib/apipie/static_dispatcher.rb:60:in `call' apipie-rails (0.5.19) lib/apipie/extractor/recorder.rb:137:in `call' rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.2.3) lib/rack/etag.rb:27:in `call' rack (2.2.3) lib/rack/conditional_get.rb:27:in `call' rack (2.2.3) lib/rack/head.rb:12:in `call' . . .
It appears the issue is in attempting to apply a regex on a non-UTF-8 string in the static_dispatcher.rb file.
static_dispatcher.rb
The text was updated successfully, but these errors were encountered:
Merge pull request #746 from aussiDavid/bugfix/null-string
db7a04d
ArgumentError (invalid byte sequence in UTF-8) #736
No branches or pull requests
When sending a request that contains a non-UTF-8 character raises
ArgumentError
.To recreate the issue:
http://localhost:3000/%B8
Partial Backtrace:
It appears the issue is in attempting to apply a regex on a non-UTF-8 string in the
static_dispatcher.rb
file.The text was updated successfully, but these errors were encountered: