Closed Bug 683956 Opened 15 years ago Closed 15 years ago

query gives no response if no user supplied to editusers.cgi

Categories

(Bugzilla :: Administration, task)

x86_64
Windows 7
task
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: wsmwk, Unassigned)

Details

run https://bugzilla.mozilla.org/editusers.cgi?action=list&matchvalue=login_name&matchtype=substr&groupid=10&matchstr= i.e. with no userid and it just loops. firefox indicates "connecting" This isn't something someone would normally do of course, but I have a firefox keyword for this, and I forgot to supply the BMO user's address
It simply returns all users from the DB, so it takes time before you get any output.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
(In reply to Frédéric Buclin from comment #1) > It simply returns all users from the DB, so it takes time before you get any > output. One possible way this could be a bug is should we allow this to happen in the first place then? Some large installations could have 10s of thousands of users which you probably want to display. Maybe treat it similar to buglist.cgi and require some search parameters. dkl
No, we don't want another parameter for this. Only power users can access admin pages, and they should know what they do. On smaller installations, it makes sense to easily get all users, so we wouldn't want to prevent this behavior. Wayne just has to fix his Firefox keyword to pass %s and that's it.
I wasn't really saying add another parameter for this. Only to require either something to be entered in the search string field OR the "Restrict users to belonging to group" checkbox be checked. Technically if an admin *wants* all users to be displayed they can enter '.*' in the search field and do a regexp search. But I am also fine with just leaving this as-is and telling others to just not do it I suppose. dkl
You need to log in before you can comment on or make changes to this bug.