We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 245f070 commit 6a0d421Copy full SHA for 6a0d421
lib/hooks/plugins/auth/hmac.rb
@@ -220,10 +220,6 @@ def self.parse_timestamp(timestamp_value)
220
log.warn("Auth::HMAC validation failed: Timestamp contains invalid characters")
221
return nil
222
end
223
- if timestamp_value != timestamp_value.strip
224
- log.warn("Auth::HMAC validation failed: Timestamp contains leading/trailing whitespace")
225
- return nil
226
- end
227
ts = parse_iso8601_timestamp(timestamp_value)
228
return ts if ts
229
ts = parse_unix_timestamp(timestamp_value)
0 commit comments