From b9f72dd8d914a629d60f69c8fc8b46144d0f21be Mon Sep 17 00:00:00 2001 From: Peter Yee Date: Sat, 5 Nov 2022 11:37:21 +0000 Subject: [PATCH 1/2] Remove &rec_status=0 from "Errata exist" links for HTMLized RFCs Corrects Issue #4320: https://github.com/ietf-tools/datatracker/issues/4320 This is done by modifying the RFC_EDITOR_ERRATA_URL in ietf/settings.py so that the errant "&rfc_status=0" is removed. --- ietf/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ietf/settings.py b/ietf/settings.py index aa35aa8e34b..04c823bce76 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -783,7 +783,8 @@ def skip_unreadable_post(record): RFC_EDITOR_QUEUE_URL = "https://www.rfc-editor.org/queue2.xml" RFC_EDITOR_INDEX_URL = "https://www.rfc-editor.org/rfc/rfc-index.xml" RFC_EDITOR_ERRATA_JSON_URL = "https://www.rfc-editor.org/errata.json" -RFC_EDITOR_ERRATA_URL = "https://www.rfc-editor.org/errata_search.php?rfc={rfc_number}&rec_status=0" +RFC_EDITOR_ERRATA_URL = "https://www.rfc-editor.org/errata_search.php?rfc={rfc_number}" +#RFC_EDITOR_ERRATA_URL = "https://www.rfc-editor.org/errata_search.php?rfc={rfc_number}&rec_status=0" RFC_EDITOR_INLINE_ERRATA_URL = "https://www.rfc-editor.org/rfc/inline-errata/rfc{rfc_number}.html" RFC_EDITOR_INFO_BASE_URL = "https://www.rfc-editor.org/info/" From 925aa378abbc1ec7684629d5723e04362664e9e8 Mon Sep 17 00:00:00 2001 From: Peter Yee Date: Sat, 5 Nov 2022 15:59:13 +0000 Subject: [PATCH 2/2] Update ietf/settings.py Removes commented out RFC_EDITOR_ERRATA_URL line from original submission. Co-authored-by: Lars Eggert --- ietf/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ietf/settings.py b/ietf/settings.py index 04c823bce76..81139222da9 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -784,7 +784,6 @@ def skip_unreadable_post(record): RFC_EDITOR_INDEX_URL = "https://www.rfc-editor.org/rfc/rfc-index.xml" RFC_EDITOR_ERRATA_JSON_URL = "https://www.rfc-editor.org/errata.json" RFC_EDITOR_ERRATA_URL = "https://www.rfc-editor.org/errata_search.php?rfc={rfc_number}" -#RFC_EDITOR_ERRATA_URL = "https://www.rfc-editor.org/errata_search.php?rfc={rfc_number}&rec_status=0" RFC_EDITOR_INLINE_ERRATA_URL = "https://www.rfc-editor.org/rfc/inline-errata/rfc{rfc_number}.html" RFC_EDITOR_INFO_BASE_URL = "https://www.rfc-editor.org/info/"