wovnrb 0.1.06 → 0.1.07
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wovnrb/headers.rb +1 -1
- data/lib/wovnrb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7385f6b560b50eb6c3c5c2c934d1b1930b13a5d
|
4
|
+
data.tar.gz: 0a9154f33c6ff6f84540694ac00910ac1338a157
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4b357155efdc484404c7d7b54f5025e9e21ccda6267c9d9b8380d92f14fcc73e13c17be278b4029076312b26b2d8d24a397e3748413916fe679e723ed06281d
|
7
|
+
data.tar.gz: e8f583efc8ab880777f305c8c9af4b0ad56b0dce09e9e9ab06c2b3126cc7aa1d55e25b990af83ae28ba65e5f8ec571af71073f466647ba7286d73b7747303ccc
|
data/lib/wovnrb/headers.rb
CHANGED
@@ -14,7 +14,7 @@ module Wovnrb
|
|
14
14
|
@env = env
|
15
15
|
@protocol = @env['rack.url_scheme']
|
16
16
|
@unmasked_host = @env['HTTP_HOST']
|
17
|
-
@env['REQUEST_URI'] = @env['PATH_INFO'] + (@env['QUERY_STRING'].size == 0 ? '' : "?#{@env['QUERY_STRING']}" unless @env['REQUEST_URI']
|
17
|
+
@env['REQUEST_URI'] = @env['PATH_INFO'] + (@env['QUERY_STRING'].size == 0 ? '' : "?#{@env['QUERY_STRING']}") unless @env['REQUEST_URI']
|
18
18
|
@unmasked_pathname = @env['REQUEST_URI'].split('?')[0]
|
19
19
|
@unmasked_pathname += '/' unless @unmasked_pathname =~ /\/$/ || @unmasked_pathname =~ /\/[^\/.]+\.[^\/.]+$/
|
20
20
|
@unmasked_url = "#{@protocol}://#{@unmasked_host}#{@unmasked_pathname}"
|
data/lib/wovnrb/version.rb
CHANGED