-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bug fix] Stop manual URI parsing/escaping and use CGI::parse (#119)
* Stop manual URI parsing/escaping and use URI::HTTP standard library. * Update .travis.yml * bump minimum Ruby version * Use CGI::parse - URI::decode_www_form can't handle multibyte characters * avoid using set_form_data() - as it doesn't seem to be escaping some of the special characters such as '*' (asterisk). Use CGI.escape instead. - do not parse/escape request POST body in case if "content-type" request header is specified. * Update .travis.yml - follow latest Ruby releases
- Loading branch information
Showing
4 changed files
with
38 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
bundler_args: --without development | ||
dist: xenial | ||
language: ruby | ||
rvm: | ||
- 1.9.3 | ||
- 2.0.0 | ||
- jruby-head | ||
- rbx-2 | ||
- ruby-head | ||
|
||
before_install: | ||
- bundle config without 'development' | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- rvm: jruby-head | ||
- rvm: ruby-head | ||
fast_finish: true | ||
sudo: false | ||
- rvm: rbx-2 | ||
include: | ||
- rvm: 2.6.5 | ||
- rvm: 2.5.7 | ||
- rvm: 2.4.9 | ||
- rvm: jruby-head | ||
- rvm: ruby-head | ||
- rvm: rbx-2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters