Defect #35062

Back URLs with <t+ operator break

Added by Felix Schäfer over 1 year ago. Updated 7 months ago.

Status:ConfirmedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution: Affected version:

Description

This is a problem we noticed but haven't been able to correct yet. Maybe someone else will find a good solution for this.

Steps to reproduce:
- Navigate to the issue list in a project
- Add the filter "Due date" "in less than" "30 days" and apply, this should put the Issue Query in the parameters of the URL of the browser
- Navigate to "Log time" in the + menu
- Enter some data and click "Create" or click "Cancel"

This results in a RuntimeError in IssuesController#index Unknown query operator <t

At some point the <t+ from the Referer URL doesn't get re-encoded properly and the + becomes a space in the URL. This confuses the Query model.


Related issues

Related to Redmine - Patch #35312: Gracefully handle invalid operators and associations requ... Closed

History

#1 Updated by Holger Just about 1 year ago

  • Related to Patch #35312: Gracefully handle invalid operators and associations requested in queries added

#2 Updated by Go MAEDA 7 months ago

  • Status changed from New to Confirmed

#3 Updated by Holger Just 7 months ago

To quote myself from #35312#note-2:

This patch [comitted to trunk in #35312] probably masks the underlying issue in #35062 (by rendering a 404 instead of a 500 there). The root cause of this issue should probably still be checked.

Also available in: Atom PDF