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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67ce1b3d37161b4c930151fd3b5fd774ec5485e899c12e67b418d491fbf2d66f
4
- data.tar.gz: f45d9d1ace77c6cc49b6d9613364285c04520830abec381049877794e71a8001
3
+ metadata.gz: 4558673ef07349f4ae8fd577edfcf3b005ce6be12f022a6d52d008aacfd7cabd
4
+ data.tar.gz: a0d715b3ec092791f73da84c9658ce030e1c71164e780b198c995bd7b04838fa
5
5
  SHA512:
6
- metadata.gz: d816fd33f22a40fa4814602715673f313f0163a1f05cc75439e276c301a3facfa1c7b0d0fc616817d7afca752c5c2a86e2d1003235468df9ea42cff013663ec5
7
- data.tar.gz: bf7673bd46953077f4d7a016892a98c4b3e5dfc75dc911c21d13627249434a1947638f29ded55b3206bcb7d1dcbe3e2c3ffcb69b3d50b2147b34399b71e166b2
6
+ metadata.gz: 6345f6aba2066b3d5a31f9b2be28f0fd84ccf9268c3782000a51a35495c99c970a458933503b699b237e909d879b00501bbf6cba3ed2be5f87570278de6e9f56
7
+ data.tar.gz: 59e7fcb1077c9a5488b03553ea2df050ff063c1f10d83bffeb094d04b4d6fea3dcaed3ab3de426b0732590827ac3f3219d90c1dfd9ebd07dfbb000f740c79444
@@ -1,3 +1,3 @@
1
1
  module UrlScrubber
2
- VERSION = "0.8.22"
2
+ VERSION = "0.8.23"
3
3
  end
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.22
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-03-10 00:00:00.000000000 Z
15
+ date: 2021-09-02 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rspec