From ed1d14e2aba24c182aed94c665eab38be112bac2 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 9 Feb 2026 09:35:39 +0000 Subject: [PATCH] Avoid using non-reserved domain names in examples and tests (#43802). Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@24404 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/configuration.yml.example | 4 ++-- .../common_mark/sanitization_filter_test.rb | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/configuration.yml.example b/config/configuration.yml.example index 4e8444ca9..e37f38745 100644 --- a/config/configuration.yml.example +++ b/config/configuration.yml.example @@ -22,7 +22,7 @@ default: # address: "localhost" # port: 25 # - # ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com + # ==== SMTP server at example.com using LOGIN authentication and checking HELO for example.com # # email_delivery: # delivery_method: :smtp @@ -30,7 +30,7 @@ default: # address: "example.com" # port: 25 # authentication: :login - # domain: 'foo.com' + # domain: 'example.com' # user_name: 'myaccount' # password: 'password' # diff --git a/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb b/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb index 0e428a3de..22afc3353 100644 --- a/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb @@ -130,11 +130,11 @@ if Object.const_defined?(:Commonmarker) '' ], [ - 'Lorem ipsum dolor sit
amet ', - 'Lorem ipsum dolor sit
amet .foo { color: #fff; } ' + 'Lorem ipsum dolor sit
amet ', + 'Lorem ipsum dolor sit
amet .foo { color: #fff; } ' ], [ - 'Lorem dolor sit
amet ', - 'Lorem ipsum dolor sit
amet <script>alert("hello world");' + 'Lorem ipsum dolor sit
amet <script>alert("hello world");', + 'Lorem ipsum dolor sit
amet <script>alert("hello world");' ] ] # rubocop:enable Layout/LineLength