Skip to content

Commit

Permalink
updated default allowlist (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartes authored Sep 28, 2020
1 parent 3d2eb9b commit fae649c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## master

- [#205](https://github.com/castle/castle-ruby/pull/205) extended DEFAULT_ALLOWLIST
- [#204](https://github.com/castle/castle-ruby/pull/204) drop configuration `host`, `port`, `url_prefix` options in favor of `url`
- [#203](https://github.com/castle/castle-ruby/pull/203) switch to denylist and allowlist

Expand Down
9 changes: 8 additions & 1 deletion lib/castle/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,20 @@ class Configuration
Connection
Content-Length
Content-Type
Dnt
Host
Origin
Pragma
Referer
TE
Sec-Fetch-Dest
Sec-Fetch-Mode
Sec-Fetch-Site
Sec-Fetch-User
Te
Upgrade-Insecure-Requests
User-Agent
X-Castle-Client-Id
X-Requested-With
].freeze

attr_accessor :request_timeout, :url, :trust_proxy_chain
Expand Down

0 comments on commit fae649c

Please sign in to comment.