Project

General

Profile

Patch #43802 ยป 0001-Replace-foo.com-with-example.com.patch

Mizuki ISHIKAWA, 2026-02-09 06:00

View differences:

config/configuration.yml.example
22 22
  #      address: "localhost"
23 23
  #      port: 25
24 24
  #
25
  # ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
25
  # ==== SMTP server at example.com using LOGIN authentication and checking HELO for example.com
26 26
  #
27 27
  #  email_delivery:
28 28
  #    delivery_method: :smtp
......
30 30
  #      address: "example.com"
31 31
  #      port: 25
32 32
  #      authentication: :login
33
  #      domain: 'foo.com'
33
  #      domain: 'example.com'
34 34
  #      user_name: 'myaccount'
35 35
  #      password: 'password'
36 36
  #
test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb
130 130
        '<img src="photo.jpg" style="min-width: 100px; max-width: 200px; min-height: 100px; max-height: 200px;">'
131 131
      ],
132 132
      [
133
        '<b>Lo<!-- comment -->rem</b> <a href="pants" title="foo" style="text-decoration: underline;">ipsum</a> <a href="http://foo.com/"><strong>dolor</strong></a> sit<br/>amet <style>.foo { color: #fff; }</style> <script>alert("hello world");</script>',
134
        '<b>Lorem</b> <a href="pants" title="foo">ipsum</a> <a href="http://foo.com/"><strong>dolor</strong></a> sit<br>amet .foo { color: #fff; } '
133
        '<b>Lo<!-- comment -->rem</b> <a href="pants" title="foo" style="text-decoration: underline;">ipsum</a> <a href="http://example.com/"><strong>dolor</strong></a> sit<br/>amet <style>.foo { color: #fff; }</style> <script>alert("hello world");</script>',
134
        '<b>Lorem</b> <a href="pants" title="foo">ipsum</a> <a href="http://example.com/"><strong>dolor</strong></a> sit<br>amet .foo { color: #fff; } '
135 135
      ],
136 136
      [
137
        'Lo<!-- comment -->rem</b> <a href=pants title="foo>ipsum <a href="http://foo.com/"><strong>dolor</a></strong> sit<br/>amet <script>alert("hello world");',
137
        'Lo<!-- comment -->rem</b> <a href=pants title="foo>ipsum <a href="http://example.com/"><strong>dolor</a></strong> sit<br/>amet <script>alert("hello world");',
138 138
        'Lorem <a href="pants" title="foo>ipsum <a href="><strong>dolor</strong></a> sit<br>amet '
139 139
      ],
140 140
      [
......
142 142
        '<p>a</p><blockquote>b</blockquote>'
143 143
      ],
144 144
      [
145
        '<b>Lo<!-- comment -->rem</b> <a href="javascript:pants" title="foo">ipsum</a> <a href="http://foo.com/"><strong>dolor</strong></a> sit<br/>amet <<foo>script>alert("hello world");</script>',
146
        '<b>Lorem</b> <a title="foo">ipsum</a> <a href="http://foo.com/"><strong>dolor</strong></a> sit<br>amet &lt;script&gt;alert("hello world");'
145
        '<b>Lo<!-- comment -->rem</b> <a href="javascript:pants" title="foo">ipsum</a> <a href="http://example.com/"><strong>dolor</strong></a> sit<br/>amet <<foo>script>alert("hello world");</script>',
146
        '<b>Lorem</b> <a title="foo">ipsum</a> <a href="http://example.com/"><strong>dolor</strong></a> sit<br>amet &lt;script&gt;alert("hello world");'
147 147
      ]
148 148
    ]
149 149
    # rubocop:enable Layout/LineLength
    (1-1/1)