diff options
author | taca <taca@pkgsrc.org> | 2022-06-07 15:18:45 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2022-06-07 15:18:45 +0000 |
commit | 9a5e60079bb8474410ee6d6c76700285a5ded25d (patch) | |
tree | ca380eb740725feaf03682e3034a6e89791e23b2 /www | |
parent | 1763db2b06d1f2330bab636f053f1c13072f77c7 (diff) | |
download | pkgsrc-9a5e60079bb8474410ee6d6c76700285a5ded25d.tar.gz |
www/ruby-actionpack70: update to 7.0.3
7.0.3 (2022-05-12)
* Allow relative redirects when raise_on_open_redirects is enabled.
* Fix authenticate_with_http_basic to allow for missing password.
Before Rails 7.0 it was possible to handle basic authentication with only
a username.
authenticate_with_http_basic do |token, _|
ApiClient.authenticate(token)
end
This ability is restored.
* Fix content_security_policy returning invalid directives.
Directives such as self, unsafe-eval and few others were not single quoted
when the directive was the result of calling a lambda returning an array.
content_security_policy do |policy|
policy.frame_ancestors lambda { [:self, "https://example.com"] }
end
With this fix the policy generated from above will now be valid.
* Fix skip_forgery_protection to run without raising an error if forgery
protection has not been enabled / verify_authenticity_token is not a
defined callback.
This fix prevents the Rails 7.0 Welcome Page (/) from raising an
ArgumentError if default_protect_from_forgery is false.
* Fix ActionController::Live to copy the IsolatedExecutionState in the
ephemeral thread.
Since its inception ActionController::Live has been copying thread local
variables to keep things such as CurrentAttributes set from middlewares
working in the controller action.
With the introduction of IsolatedExecutionState in 7.0, some of that
global state was lost in ActionController::Live controllers.
* Fix setting trailing_slash: true in route definition.
get '/test' => "test#index", as: :test, trailing_slash: true
test_path() # => "/test/"
Diffstat (limited to 'www')
-rw-r--r-- | www/ruby-actionpack70/distinfo | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/ruby-actionpack70/distinfo b/www/ruby-actionpack70/distinfo index 9be2c8dac1d..17cf66fe1ee 100644 --- a/www/ruby-actionpack70/distinfo +++ b/www/ruby-actionpack70/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2022/05/05 03:40:53 taca Exp $ +$NetBSD: distinfo,v 1.6 2022/06/07 15:18:45 taca Exp $ -BLAKE2s (actionpack-7.0.2.4.gem) = f9d5db2eed84954bca5cc756666ec3ee7e30a8ae520b7ec31c27539649ffe251 -SHA512 (actionpack-7.0.2.4.gem) = 405837174ff284ae9960d947a7f35fe6cf6ef2e558fc917611f04813efbca7b0a44251be2ccf84284166b5aa932fdaf30e4f35fb0c0d96651808cbdc61d67f43 -Size (actionpack-7.0.2.4.gem) = 228864 bytes +BLAKE2s (actionpack-7.0.3.gem) = de4ab0b1f011f4948bb2333d0b2544ac24c5b2821fb1104dfa668aeceb16fd39 +SHA512 (actionpack-7.0.3.gem) = fe8b1929bd87de9a235098a148949affd8fff5aef4c8a85640b9aae15a899fee013663838ce4fa676b9c4b2d304890f1dc341977612abc357238ba8a61b9adcf +Size (actionpack-7.0.3.gem) = 230912 bytes |