Modify ↓
Opened 5 years ago
Closed 5 years ago
#13354 closed defect (fixed)
RegressionTestTicket7821var failing
| Reported by: | Jun Omae | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.3 |
| Component: | wiki system | Version: | 1.5.2 |
| Severity: | normal | Keywords: | intertrac |
| Cc: | Branch: | ||
| Release Notes: |
Fix incorrect redirection via intertrac dispatcher with & characters. |
||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
======================================================================
ERROR: runTest (trac.ticket.tests.functional.main.RegressionTestTicket7821var)
Test for regression of https://trac.edgewall.org/ticket/7821 var
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jun66j5/src/tracdev/git/trac/ticket/tests/functional/main.py", line 1530, in runTest
tc.find('<input type="text" name="1_cc"[ \n]+value="admin"'
File "/home/jun66j5/src/tracdev/git/trac/tests/functional/better_twill.py", line 191, in find
raise AssertionError("Regex didn't match: {!r} not found in {}"
AssertionError: Regex didn't match: '<input type="text" name="1_cc"[ \n]+value="admin" size="[0-9]+"/>' not found in file:///home/jun66j5/src/tracdev/git/testenv/trac/log/RegressionTestTicket7821var.html
----------------------------------------------------------------------
Attachments (0)
Change History (3)
comment:1 by , 5 years ago
| Component: | query system → wiki system |
|---|---|
| Description: | modified (diff) |
| Keywords: | intertrac added |
| Milestone: | 1.5.3 → 1.4.3 |
comment:2 by , 5 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
Proposed changes for the following branches:
- [cc7b2671f/jomae.git] for 1.4-stable
- [50e699cdb/jomae.git] for trunk
comment:3 by , 5 years ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.



It seems
InterTracDispatcherwith&characters is broken since 1.4.Investigating with the following script:
Since 1.4, the component passes a Markup instance to
req.redirect().