From 6c5acd5bc1efbeca4384353fcde946fc83ae094d Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Mon, 15 Jul 2019 07:10:22 +1000 Subject: Use reserved domain for example configuration Updates the generator output to use a reserved domain[1] instead of a potentially real world domain. [1]: https://tools.ietf.org/html/rfc2606#section-3 --- actionpack/CHANGELOG.md | 2 +- actionpack/lib/action_controller/metal/feature_policy.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 72d6c46782..8e36df1bcc 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -15,7 +15,7 @@ f.microphone :none f.usb :none f.fullscreen :self - f.payment :self, "https://secure-example.com" + f.payment :self, "https://secure.example.com" end ``` diff --git a/actionpack/lib/action_controller/metal/feature_policy.rb b/actionpack/lib/action_controller/metal/feature_policy.rb index eecca20dda..a627eabea6 100644 --- a/actionpack/lib/action_controller/metal/feature_policy.rb +++ b/actionpack/lib/action_controller/metal/feature_policy.rb @@ -19,7 +19,7 @@ module ActionController #:nodoc: # f.microphone :none # f.usb :none # f.fullscreen :self - # f.payment :self, "https://secure-example.com" + # f.payment :self, "https://secure.example.com" # end # # # Controller level policy -- cgit v1.2.3