Closed Bug 376798 Opened 18 years ago Closed 18 years ago

QueriesToQueryString prefixes the first parameter with an ampersand

Categories

(Firefox :: Bookmarks & History, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Firefox 3 alpha4

People

(Reporter: asaf, Assigned: asaf)

References

Details

Attachments

(2 files, 1 obsolete file)

QueriesToQueryString prefix the first parameter with an ampersand, this is not in sync with getFolderURI/getItemURI and seems generally wrong. FWIW, this is a regression from bug 319894 which made AppendAmpersandIfNonempty pointless.
Attached patch patch (obsolete) — Splinter Review
Also standardize (implicit) callers of QueryStringToQueries to not prefix the first parameter of the query string with an ampersand.
Attachment #260907 - Flags: review?(dietrich)
OS: Mac OS X → All
Hardware: PC → All
Blocks: 374521
Comment on attachment 260907 [details] [diff] [review] patch there's still a query in bookmarksPanel.xul that needs to be updated. with that fix, r=me.
Attachment #260907 - Flags: review?(dietrich) → review+
Attached patch testSplinter Review
Attachment #261083 - Flags: review?(dietrich)
Target Milestone: --- → Firefox 3 alpha4
Priority: -- → P2
mozilla/browser/base/content/browser-menubar.inc 1.111 mozilla/browser/components/places/content/bookmarkProperties.xul 1.25 mozilla/browser/components/places/content/bookmarksPanel.xul 1.5 mozilla/browser/components/places/content/controller.js 1.142 mozilla/browser/components/places/content/history-panel.xul 1.9 mozilla/browser/components/places/content/moveBookmarks.xul 1.2 mozilla/browser/components/places/content/places.xul 1.70 mozilla/browser/components/preferences/selectBookmark.xul 1.5 mozilla/toolkit/components/places/src/nsNavHistoryQuery.cpp 1.26
Attachment #260907 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Attachment #261083 - Flags: review?(dietrich) → review+
mozilla/toolkit/components/places/tests/unit/test_placeURIs.js initial revision: 1.1
Flags: in-testsuite+
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: