From 59660bdaf3a0b133be2ea93d438c50f12a482d34 Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Wed, 17 Aug 2022 13:57:47 +1200 Subject: [PATCH] fix: Update idnits service URL This change introduces a new configuration option: `IDNITS_SERVICE_URL` to configure idnits service URL. --- ietf/settings.py | 1 + ietf/templates/submit/tool_instructions.html | 4 ++-- ietf/templates/submit/upload_submission.html | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ietf/settings.py b/ietf/settings.py index 740862dda0d..0edf20229b2 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -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/") diff --git a/ietf/templates/submit/tool_instructions.html b/ietf/templates/submit/tool_instructions.html index 6a1b2a126ae..1a1486f0e1b 100644 --- a/ietf/templates/submit/tool_instructions.html +++ b/ietf/templates/submit/tool_instructions.html @@ -51,7 +51,7 @@

Upload screen

Before you submit your I-D, it is recommended that you check it for nits using the - idnits tool. + idnits tool.

@@ -216,4 +216,4 @@

{% include "submit/problem-reports-footer.html" %} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/ietf/templates/submit/upload_submission.html b/ietf/templates/submit/upload_submission.html index 6648a5e0464..5858da6f9c2 100644 --- a/ietf/templates/submit/upload_submission.html +++ b/ietf/templates/submit/upload_submission.html @@ -23,7 +23,7 @@
Before you submit your I-D, it is recommended that you check it for nits using the - idnits + idnits tool, and fix them.
@@ -80,4 +80,4 @@ $("#other-formats").collapse('show') }); -{% endblock %} \ No newline at end of file +{% endblock %}