Closed
Bug 301458
Opened 21 years ago
Closed 21 years ago
Move url_decode out of CGI.pl
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.22
People
(Reporter: LpSolit, Assigned: LpSolit)
References
Details
Attachments
(1 file, 1 obsolete file)
|
3.22 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
should go into Util.pm
| Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 2.22
| Assignee | ||
Comment 1•21 years ago
|
||
I forgot the POD docs in bug 301453 for check_email_syntax. Adding them here
together with url_decode.
Attachment #189910 -
Flags: review?(mkanat)
Comment 2•21 years ago
|
||
Comment on attachment 189910 [details] [diff] [review]
patch, v1
OK on inspection, but certain parts of the POD docs need to be fixed:
>@@ -408,6 +426,9 @@
> # Cryptographic Functions
> $crypted_password = bz_crypt($password);
>
>+ # Functions for email syntax validation
Just "validation functions" in general.
>@@ -630,3 +655,13 @@
> =end undocumented
>
> =back
>+
>+=head2 Email syntax validation
Same note here.
>+=item C<check_email_syntax($email)>
>+
>+Do a syntax checking for a legal email address.
Note that the function actually throws a user error if the email syntax is
invalid.
Also, the "url_decode" POD docs probably want to be more specific than "get
rid of," since that sounds like we just delete them.
Attachment #189910 -
Flags: review?(mkanat) → review-
| Assignee | ||
Comment 3•21 years ago
|
||
If you have a better explanation for url_decode, please write it here and I
will do a copy and paste. ;)
Attachment #189910 -
Attachment is obsolete: true
Attachment #189915 -
Flags: review?(mkanat)
Comment 4•21 years ago
|
||
Comment on attachment 189915 [details] [diff] [review]
patch, v2
OK, except "an error is thrown" instead of "an error is returned."
I think that can be fixed on checkin, though. :-)
Attachment #189915 -
Flags: review?(mkanat) → review+
| Assignee | ||
Updated•21 years ago
|
Flags: approval?
Updated•21 years ago
|
Flags: approval? → approval+
| Assignee | ||
Comment 5•21 years ago
|
||
Checking in CGI.pl;
/cvsroot/mozilla/webtools/bugzilla/CGI.pl,v <-- CGI.pl
new revision: 1.249; previous revision: 1.248
done
Checking in query.cgi;
/cvsroot/mozilla/webtools/bugzilla/query.cgi,v <-- query.cgi
new revision: 1.147; previous revision: 1.146
done
Checking in Bugzilla/Util.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Util.pm,v <-- Util.pm
new revision: 1.32; previous revision: 1.31
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•