url_scrubber 0.8.22 → 0.8.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/url_scrubber/version.rb +1 -1
- data/lib/url_scrubber.rb +1 -0
- 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: 4558673ef07349f4ae8fd577edfcf3b005ce6be12f022a6d52d008aacfd7cabd
|
4
|
+
data.tar.gz: a0d715b3ec092791f73da84c9658ce030e1c71164e780b198c995bd7b04838fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6345f6aba2066b3d5a31f9b2be28f0fd84ccf9268c3782000a51a35495c99c970a458933503b699b237e909d879b00501bbf6cba3ed2be5f87570278de6e9f56
|
7
|
+
data.tar.gz: 59e7fcb1077c9a5488b03553ea2df050ff063c1f10d83bffeb094d04b4d6fea3dcaed3ab3de426b0732590827ac3f3219d90c1dfd9ebd07dfbb000f740c79444
|
data/lib/url_scrubber/version.rb
CHANGED
data/lib/url_scrubber.rb
CHANGED
@@ -9,6 +9,7 @@ module UrlScrubber
|
|
9
9
|
def self.scrub(url)
|
10
10
|
return url if url.blank?
|
11
11
|
return url if /^app:\/\//.match(url) # Do not scrub app-only URLs
|
12
|
+
return url if /^https?:\/\/(www.)?business.tiktok\.com\/manage\//.match(url) # Don't scrub tik tok business manager urls, quick fix until we can implement a different solution, https://business.tiktok.com/manage/overview?org_id=6974497704617492482
|
12
13
|
|
13
14
|
url = url.clone # don't modify the original argument
|
14
15
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: url_scrubber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Colin Langton
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2021-
|
15
|
+
date: 2021-09-02 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rspec
|