Skip to content

htmlized doc view failing to reverse bibtex URL for some rfcs #4878

Description

@jennifer-richards

Describe the issue

Retrieving /doc/html/fyi5 or /doc/html/fyi27 from production or the sandbox fails with a reverse lookup failure. The former fails with

Reverse for 'ietf.doc.views_doc.document_bibtex' with keyword arguments '{'name': 'rfc1178', 'rev': ''}' not found. 1 pattern(s) tried: ['doc/(?P<name>[A-Za-z0-9._+-]+?)(?:/(?P<rev>[0-9]{1,2}(-[0-9]{2})?))?/bibtex/$']

The problem is apparently that it is asking for a blank rev- if I leave out the rev parameter entirely, the reverse goes through.

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions