Closed Bug 57821 Opened 24 years ago Closed 23 years ago

Empty regular expression match nothing

Categories

(Bugzilla :: Administration, task, P2)

Tracking

()

RESOLVED FIXED
Bugzilla 2.16

People

(Reporter: n_hibma, Assigned: n_hibma)

References

()

Details

(Whiteboard: 2.16)

Attachments

(1 file)

Empty regular expressions do not match anything when searching for users.

Patch against todays bugzilla at URL.
Whiteboard: 2.14
Keywords: patch
Whiteboard: 2.14 → 2.16
moving to real milestones...
Target Milestone: --- → Bugzilla 2.16
Priority: P3 → P2
Actually, it's worse than not matching anything, it does this:

Software error:

SELECT login_name,realname,disabledtext FROM profiles WHERE login_name regexp'' 
ORDER BY login_name: Got error 'empty
(sub)expression' from regexp at globals.pl line 195. 
-> New Bugzilla Product

I don't know if this is limited to editusers.cgi, or if it's a concern in
buglist.cgi, too.
Assignee: tara → justdave
Component: Bugzilla → Administration
Product: Webtools → Bugzilla
Version: other → unspecified
Setting owner to patch writer.
Assignee: justdave → n_hibma
Comment on attachment 26538 [details] [diff] [review]
the mentioned patch, just in case ...

It works
r=jake
No second review required.
Attachment #26538 - Flags: review+
Checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: