Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ietf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ def skip_unreadable_post(record):
IDTRACKER_BASE_URL = "https://datatracker.ietf.org"
RFCDIFF_BASE_URL = "https://www.ietf.org/rfcdiff"
IDNITS_BASE_URL = "https://author-tools.ietf.org/api/idnits"
IDNITS_SERVICE_URL = "https://author-tools.ietf.org/idnits"

# Content security policy configuration (django-csp)
CSP_DEFAULT_SRC = ("'self'", "'unsafe-inline'", f"data: {IDTRACKER_BASE_URL} https://www.ietf.org/ https://analytics.ietf.org/ https://fonts.googleapis.com/")
Expand Down
4 changes: 2 additions & 2 deletions ietf/templates/submit/tool_instructions.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h3 class="mt-4">Upload screen</h3>
<p>
Before you submit your I-D, it is recommended that you check it for nits
using the
<a href="{{ settings.IDNITS_BASE_URL }}">idnits tool</a>.
<a href="{{ settings.IDNITS_SERVICE_URL }}">idnits tool</a>.
</p>
<table class="table table-sm table-striped">
<tbody>
Expand Down Expand Up @@ -216,4 +216,4 @@ <h3 class="mt-4">
</tbody>
</table>
{% include "submit/problem-reports-footer.html" %}
{% endblock %}
{% endblock %}
4 changes: 2 additions & 2 deletions ietf/templates/submit/upload_submission.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<hr>
Before you submit your I-D, it is recommended that you check it for nits
using the
<a href="{{ settings.IDNITS_BASE_URL }}">idnits</a>
<a href="{{ settings.IDNITS_SERVICE_URL }}">idnits</a>
tool, and fix them.
</div>
<form method="post" enctype="multipart/form-data" class="my-3">
Expand Down Expand Up @@ -80,4 +80,4 @@
$("#other-formats").collapse('show')
});
</script>
{% endblock %}
{% endblock %}