Open Bug 317361 Opened 19 years ago Updated 9 years ago

buglist.cgi ignore case while query.cgi does not - example with "Edit Search"

Categories

(Bugzilla :: Query/Bug List, defect)

2.20
defect
Not set
minor

Tracking

()

People

(Reporter: agarberisoft, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Here is a short description of the bug and a "real application" of it! In this page: http://www.mozilla.org/projects/tech-evangelism/site/component-italian.html I found the link to this search ("Open Bugs" link): http://bugzilla.mozilla.org/buglist.cgi?product=Tech+Evangelism&component=italian&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED The query worked in "buglist.cgi". I wanted to refine the search and in the opened page I clicked "Edit Search" (bottom of the page). This was the link: https://bugzilla.mozilla.org/query.cgi?product=Tech%20Evangelism&component=italian&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&remaction=&query_format=advanced The query worked only partially in "query.cgi" because the "component=italian" did not work (not component is selected). Checking the component list, I found that the correct name is "Italian", with first capital letter. This means that buglist.cgi is case-insensitive, while query.cgi is case-sensitive. I made more tries to confirm this, here are some: OK https://bugzilla.mozilla.org/buglist.cgi?product=Tech+Evangelism&component=italian&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED OK https://bugzilla.mozilla.org/buglist.cgi?product=Tech+Evangelism&component=Italian&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED OK https://bugzilla.mozilla.org/buglist.cgi?product=Tech+Evangelism&component=iTalian&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED NO https://bugzilla.mozilla.org/query.cgi?product=Tech%20Evangelism&component=italian&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&remaction=&query_format=advanced OK https://bugzilla.mozilla.org/query.cgi?product=Tech%20Evangelism&component=Italian&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&remaction=&query_format=advanced NO https://bugzilla.mozilla.org/query.cgi?product=Tech%20Evangelism&component=iTalian&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&remaction=&query_format=advanced I tried with "product" field too and the behaviour is the same. Moreover note that this is true also for the field name itself (try with "product" and "Product"). What is right and what is wrong? case-sensitive or case-insensitive? I don't know what was the original thought, but I think that they could be all case-insensitive to avoid troubles like the one I reported. Reproducible: Always Steps to Reproduce:
confirm
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → minor
Version: unspecified → 2.20
You need to log in before you can comment on or make changes to this bug.