rack-canonical-header 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack-canonical-header/middleware.rb +1 -1
- data/lib/rack-canonical-header/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80d44ff0eb421aefb4438e1ae644a4abe2da67fda964fc950416d8a8c822b287
|
4
|
+
data.tar.gz: '089ce00e708904129a7253925bf3f8136f880957c0169e33d3def6a506e53854'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65f8dd47b36444fdee37127743c2645b90f450100b23ea994302074de3f3331b5c50f3f72adc3045fd015d6135f5289407005f00aaf42cac169ba08d9a118296
|
7
|
+
data.tar.gz: 79119e70eca0b1e594ce50f6ceed36f3f1acaad854523a73a1e0961cc59f434826ead7579c005cd62931b5833e6ef3979080559d37d5d9357895afba7ca1d392
|
@@ -16,7 +16,7 @@ module Canonical
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def self.canonical_tag(env, canonical_host)
|
19
|
-
canonical = "#{env['rack.url_scheme']}://#{canonical_host}#{env['
|
19
|
+
canonical = "#{env['rack.url_scheme']}://#{canonical_host}#{env['ORIGINAL_FULLPATH']}"
|
20
20
|
"<#{canonical}>; rel=\"canonical\""
|
21
21
|
end
|
22
22
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-canonical-header
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lukas Bischof
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|