Message1803
Logged In: YES
user_id=1080231
Our backend is MySQL, but I don't think it's an SQL issue.
And this is why: If I go to issue.search.html and fill in a
date like '2005-01-01;2005-12-31' for the creation date, add
a query name like 'all in 2005' then press search, the query
results are OK. If I now click on the new 'all in 2005'
query, only the issues from date '2005-01-01' are shown. If
I use the query.edit.html page and click on the 'edit' link
for query '2005-01-01', the issue.search.html page appears
again (as expected) but the creation date field only
contains '2005-01-01'. Looking at the stored query with a
MySQL client, the query contains
'&creation=2005-01-01;2005-12-31'. When I looked at the
server logging, I did note that the ';' in the creation date
is escaped (replaced by %3B) while the rest of the query in
the URL isn't escaped. I tried the query dirrectly within
the browser. The strangest thing is that it only works with
an escaped ';'.
- http://.../issue?...&creation=2005-01-01;2005-12-31
This one only gives issues created on 2005-01-01
- http://.../issue?...&creation=2005-01-01%3B2005-12-31
This one shows all issues within the range |
|
Date |
User |
Action |
Args |
2009-02-03 14:21:08 | admin | link | issue1097083 messages |
2009-02-03 14:21:08 | admin | create | |
|