pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ruby-actionpack70 www/ruby-actionpack70: update to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/822eaecf5b30
branches:  trunk
changeset: 380482:822eaecf5b30
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Jun 07 15:18:45 2022 +0000

description:
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:

 www/ruby-actionpack70/distinfo |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (13 lines):

diff -r 55e2e8901494 -r 822eaecf5b30 www/ruby-actionpack70/distinfo
--- a/www/ruby-actionpack70/distinfo    Tue Jun 07 15:17:54 2022 +0000
+++ b/www/ruby-actionpack70/distinfo    Tue Jun 07 15:18:45 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index