comparison doc/upgrading.txt @ 7344:4be6434014ee

Fix unintended blockquote. Also fix whitespace formatting for directive.
author John Rouillard <rouilj@ieee.org>
date Sun, 14 May 2023 14:23:50 -0400
parents 955a4efe9cbc
children 692242b3effd
comparison
equal deleted inserted replaced
7343:955a4efe9cbc 7344:4be6434014ee
1265 1265
1266 Http header verification against the tracker's ``web`` 1266 Http header verification against the tracker's ``web``
1267 setting in the ``[tracker]`` section of config.ini for the 1267 setting in the ``[tracker]`` section of config.ini for the
1268 following headers: 1268 following headers:
1269 1269
1270 1. Analyze the ``Referer`` HTTP header to make sure it 1270 1. Analyze the ``Referer`` HTTP header to make sure it
1271 includes the web setting. 1271 includes the web setting.
1272 2. Analyze the ``Origin`` HTTP header to make sure the 1272 2. Analyze the ``Origin`` HTTP header to make sure the
1273 schema://host matches the web setting. 1273 schema://host matches the web setting.
1274 3. Analyze the ``X-Forwarded-Host`` header set by a proxy 1274 3. Analyze the ``X-Forwarded-Host`` header set by a proxy
1275 running in front of roundup to make sure it agrees with 1275 running in front of roundup to make sure it agrees with
1276 the host part of the web setting. 1276 the host part of the web setting.
1277 4. Analyze the ``Host`` header to make sure it agrees with 1277 4. Analyze the ``Host`` header to make sure it agrees with
1278 the host part of the web setting. This is not done if 1278 the host part of the web setting. This is not done if
1279 ``X-Forwarded-Host`` is set. 1279 ``X-Forwarded-Host`` is set.
1280 1280
1281 By default roundup 1.6 does not require any specific header 1281 By default roundup 1.6 does not require any specific header
1282 to be present. However at least one of the headers above 1282 to be present. However at least one of the headers above
1283 *must* pass validation checks (usually ``Host`` or 1283 *must* pass validation checks (usually ``Host`` or
1284 ``Referer``) or the submission is rejected with an error. 1284 ``Referer``) or the submission is rejected with an error.
1578 1578
1579 To add this to your own tracker, add the following code (prefixed with 1579 To add this to your own tracker, add the following code (prefixed with
1580 a +) after the entry box for the new keyword in html/keyword.item.html: 1580 a +) after the entry box for the new keyword in html/keyword.item.html:
1581 1581
1582 .. code:: 1582 .. code::
1583 :class: big-code 1583 :class: big-code
1584 1584
1585 <tr> 1585 <tr>
1586 <th i18n:translate="">Keyword</th> 1586 <th i18n:translate="">Keyword</th>
1587 <td tal:content="structure context/name/field">name</td> 1587 <td tal:content="structure context/name/field">name</td>
1588 + <td tal:condition="not:context/id"> 1588 + <td tal:condition="not:context/id">

Roundup Issue Tracker: http://roundup-tracker.org/