New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expired draft "plain text" link returns 404 #1876
Comments
@housley@vigilsec.com commented In doc/views_doc.py, there is already code to use the archive URL is the document is not active:
The problem seems to be that the -04 version of the document is still in the active state. |
@rjsparks@nostrum.com commented The Document is active, and that's what the code is looking at. Saying "the -04 version is still in the active state" doesn't align with what's modeled - that is, the models don't talk about the state of the -04 version. There are DocHistory objects that might talk about the state at several snapshot points in time when the document happened to be at -04, but that's not what the code is looking at. I think the bug here is that the if condition you quote needs also to check that the version being looked at is the current version of the document. |
@rjsparks@nostrum.com commented Specifically:
|
@housley@vigilsec.com changed status from |
@housley@vigilsec.com changed resolution from `` to |
@housley@vigilsec.com commented Fixed in 8ae439a: If the Internet-Draft is not the current revision, set the URLs to settings.IETF_ID_ARCHIVE_URL. Fixes #1876. |
@henrik@levkowetz.com commented Fixed in 051daf6: Merged in 8ae439a from housley@vigilsec.com: |
resolution_fixed
type_defect
| by rcross@amsl.comExample:
https://www.ietf.org/id/draft-hares-i2rs-auth-trans-04.txt
Source: https://datatracker.ietf.org/doc/draft-hares-i2rs-auth-trans/04/
Presumably this should return www.ietf.org/archive/id/... ?
Issue migrated from trac:1876 at 2022-03-04 04:51:48 +0000
The text was updated successfully, but these errors were encountered: