Skip to content

Better grooming of created queryset content for search results is needed. #6487

@rjsparks

Description

@rjsparks

Right now, if you type "dkim" into the main page searchbox, you are redirected to a search result page that has this URL:

https://datatracker.ietf.org/doc/search?csrfmiddlewaretoken=<actual token elided>&name=dkim&sort=&rfcs=on&activedrafts=on&by=group&group=

This is silly. The issue is that the view is blindly copying things from the submitted form into the queryset.
It should, instead, only copy the things that make sense. The csrfmiddlewaretoken should never be copied. Any thing that would result in key= with no value should be elided.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions