We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b704fda commit b3c06f1Copy full SHA for b3c06f1
3 files changed
CHANGELOG.md
@@ -1,6 +1,10 @@
1
# Change Log
2
All notable changes to this project will be documented in this file.
3
4
+## 1.0.6 - 2019-11-14
5
+### Changed
6
+- Use Rack::Utils.escape to make compat with Rack 1.6.0
7
+
8
## 1.0.5 - 2019-11-14
9
### Changed
10
- Update Gem spec to require rack >= 1.6.0
lib/rack/cors.rb
@@ -152,7 +152,7 @@ def select_logger(env)
152
153
def evaluate_path(env)
154
path = env[PATH_INFO]
155
- path = Rack::Utils.clean_path_info(Rack::Utils.unescape_path(path)) if path
+ path = Rack::Utils.clean_path_info(Rack::Utils.unescape(path)) if path
156
path
157
end
158
lib/rack/cors/version.rb
@@ -1,5 +1,5 @@
module Rack
class Cors
- VERSION = "1.0.5"
+ VERSION = "1.0.6"
0 commit comments