- Issue created by @Liam Morland
- 🇬🇧United Kingdom steven jones
Hmmm...I think this might be a core issue, we'll keep this one around, but it's probably Views' job to not send us a URL with the default contextual filter in.
I have a View that has a contextual filter that has a default value that is a very long string filled by a custom token. The View works fine, but the "Download CSV" link has a URL that it way too long because it includes this token. It is so long that the URL returns HTTP 414 Request-URI Too Long.
The URL is like this:
SITE_BASE_URL/VIEW_PATH/TOKEN?page&_format=csv
If I manually enter this URL, a file with the correct contents downloads:
SITE_BASE_URL/VIEW_PATH?page&_format=csv
In the above examples, VIEW_PATH
represents the "menu path or URL of this view" entered in the "Path settings" config.
It is the path that is too long, not the query string, so this is not the same as #2070711: IE, long URLs and exposed filters → .
Do not include the default values of contextual filters in the URL.
Figure out how to do this and implement.
None.
None.
None.
Active
1.0
Code
Hmmm...I think this might be a core issue, we'll keep this one around, but it's probably Views' job to not send us a URL with the default contextual filter in.