- Issue created by @Kristen Pol
- πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
A
quant-token
is added to the header for_quant/validate
inquant_form_quant_config_validate
:$url = "$base/_quant/validate"; $options['headers']['quant-token'] = quant_token_create($url); $response = drupal_http_request($url, $options);
In
quant_init
, if a token is present and strict is enabled, it will check as follows:$path = current_path(); $path_alias = drupal_lookup_path('alias', $path); $strict = variable_get('quant_token_strict', true); if (quant_token_validate($path_alias, $strict)) { return; } if (quant_token_validate($path, $strict)) { return; }
But,
_quant/validate
doesn't have an alias which is why the expected value is empty.I'm unclear why the token is being added and this validate route is getting checked.
- Issue was unassigned.
- πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
Unassigning because I don't know how to move this forward.
- πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
Given things work even with this issue, changing this to minor.
- πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
There are others. Examples:
Strict token mismatch: Expected [] Received [node/1] Strict token mismatch: Expected [] Received [taxonomy/term/1] Strict token mismatch: Expected [] Received [sitemap.xml] Strict token mismatch: Expected [] Received [sitemap.xsl] Strict token mismatch: Expected [] Received [node]
- Assigned to Kristen Pol
- Status changed to Needs review
almost 2 years ago 6:10am 15 June 2023 - πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
- Issue was unassigned.
- Status changed to Fixed
almost 2 years ago 3:51am 16 June 2023 - π¦πΊAustralia steveworley
Kristen Pol β credited steveworley β .
- πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
Merged to GitHub. Will be in the next release.
- Status changed to Fixed
almost 2 years ago 3:37am 27 June 2023 - πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
Included in the 7.x-1.2 release β .