Patch #43802 ยป 0001-Replace-foo.com-with-example.com.patch
| config/configuration.yml.example | ||
|---|---|---|
|
# 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
|
||
| ... | ... | |
|
# address: "example.com"
|
||
|
# port: 25
|
||
|
# authentication: :login
|
||
|
# domain: 'foo.com'
|
||
|
# domain: 'example.com'
|
||
|
# user_name: 'myaccount'
|
||
|
# password: 'password'
|
||
|
#
|
||
| test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb | ||
|---|---|---|
|
'<img src="photo.jpg" style="min-width: 100px; max-width: 200px; min-height: 100px; max-height: 200px;">'
|
||
|
],
|
||
|
[
|
||
|
'<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>',
|
||
|
'<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; } '
|
||
|
'<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>',
|
||
|
'<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; } '
|
||
|
],
|
||
|
[
|
||
|
'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");',
|
||
|
'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");',
|
||
|
'Lorem <a href="pants" title="foo>ipsum <a href="><strong>dolor</strong></a> sit<br>amet '
|
||
|
],
|
||
|
[
|
||
| ... | ... | |
|
'<p>a</p><blockquote>b</blockquote>'
|
||
|
],
|
||
|
[
|
||
|
'<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>',
|
||
|
'<b>Lorem</b> <a title="foo">ipsum</a> <a href="http://foo.com/"><strong>dolor</strong></a> sit<br>amet <script>alert("hello world");'
|
||
|
'<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>',
|
||
|
'<b>Lorem</b> <a title="foo">ipsum</a> <a href="http://example.com/"><strong>dolor</strong></a> sit<br>amet <script>alert("hello world");'
|
||
|
]
|
||
|
]
|
||
|
# rubocop:enable Layout/LineLength
|
||