ssrfs-up 0.0.11 → 0.0.12

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: 4b4bc036ad6ac321a1ff9dccecefe1adeed745785623bb309a285794a257da15
4
- data.tar.gz: '09cbe01327e9beca2a9bc17c7357389b3881413eb1787df8c63ee9e5fb0ac3f3'
3
+ metadata.gz: c061f769418e088e103c3ba1327cf855fdbd53fe33497b81d50959674a3838d8
4
+ data.tar.gz: b0bd761fee8012ba56712c68323b732cc8ae29f05d32efb6caf33dae870580e3
5
5
  SHA512:
6
- metadata.gz: 1658ed972fc767bd9160b493c3abd81627cd88e6bf7476316282390427e0738bb1619758f5eeb629834f88e874126914aeabe1b841af39fcfaa0f73e712835ed
7
- data.tar.gz: f74e3c986ddad0aa2c05e57ee048b76647c43b1e25c38594cd76c1b685dabf0470975ba66f36f9b2ad7c16f8b6ac9a64b24590af8dd99fed7df188bd3acbc9e8
6
+ metadata.gz: e7e69b1729f872607dfc9be6917642522c5eb4f0db100c494196b0ccfeb898079cd0a11f3b8ef85df9e6aa8651f07f376a3df24f2f936c8aeeccd8678b824dd3
7
+ data.tar.gz: 31b69a4f3fd9d3d41c8e4cfb49b557f6096769ab8fc586f36cf666af636fbb12a17597a1ed121cdb0d97aec3306d73152530bf64c68902aac43c5b145a6021b5
data/lib/ssrfs-up.rb CHANGED
@@ -89,6 +89,7 @@ module SSRFsUp
89
89
  # on if it can be parsed as URI object. If it can't, then the string is assumed
90
90
  # to be a hostname only.
91
91
  def parseAsUri(uri = '')
92
+ uri = uri.to_s
92
93
  splits = uri.split '/'
93
94
  opts = { 'host' => splits[0] }
94
95
  u = URI(uri)
@@ -1,3 +1,3 @@
1
1
  module SSRFsUp
2
- VERSION = '0.0.11'.freeze
2
+ VERSION = '0.0.12'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssrfs-up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Heath
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-12 00:00:00.000000000 Z
11
+ date: 2021-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-lambda