Closed Bug 399073 Opened 17 years ago Closed 15 years ago

Remove the 'loginnetmask' parameter

Categories

(Bugzilla :: Administration, task)

3.1.2
task
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: LpSolit, Assigned: LpSolit)

References

()

Details

Attachments

(1 file, 2 obsolete files)

Per our discussions at our last 2 Bugzilla meetings, this param should go away. It should always be set to 0.
Blocks: 392575
Attached patch patch, v1 (obsolete) — Splinter Review
Assignee: administration → LpSolit
Status: NEW → ASSIGNED
Attachment #403152 - Flags: review?(mkanat)
Target Milestone: --- → Bugzilla 3.6
Comment on attachment 403152 [details] [diff] [review]
patch, v1

Mmm, let's store NULL instead of 0.0.0.0.

Or alternately, we could always store the IP address (which would be useful for auditing and other info) and have a restrict_to_ip column in the logincookies_table.
Attachment #403152 - Flags: review?(mkanat) → review-
Attached patch patch, v2 (obsolete) — Splinter Review
Now use NULL instead of 0.0.0.0 for unrestricted IP addresses, and convert existing 0.0.0.0 IP addresses to NULL so that the corresponding cookies still work after the upgrade.
Attachment #403152 - Attachment is obsolete: true
Attachment #403207 - Flags: review?(mkanat)
(In reply to comment #3)
> Created an attachment (id=403207) [details]
> patch, v2
> 

This patch does not apply. We had some changes in the next line:

-                             i_am_cgi get_netaddr correct_urlbase
+                             i_am_cgi correct_urlbase
                              lsearch ssl_require_redirect use_attachbase

We need to update the patch.
Attached patch patch, v2.1Splinter Review
Bitrot due to bug 514913 fixed.
Attachment #403207 - Attachment is obsolete: true
Attachment #406954 - Flags: review?(mkanat)
Attachment #403207 - Flags: review?(mkanat)
Comment on attachment 406954 [details] [diff] [review]
patch, v2.1

Awesome. Huge cleanup. :-)
Attachment #406954 - Flags: review?(mkanat) → review+
Flags: approval+
Keywords: relnote
Checking in Bugzilla/Util.pm;                                                             
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Util.pm,v  <--  Util.pm                       
new revision: 1.92; previous revision: 1.91                                               
done                                                                                      
Checking in Bugzilla/Auth/Login/Cookie.pm;                                                
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Auth/Login/Cookie.pm,v  <--  Cookie.pm        
new revision: 1.6; previous revision: 1.5                                                 
done
Checking in Bugzilla/Auth/Persist/Cookie.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Auth/Persist/Cookie.pm,v  <--  Cookie.pm
new revision: 1.11; previous revision: 1.10
done
Checking in Bugzilla/Config/Auth.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Config/Auth.pm,v  <--  Auth.pm
new revision: 1.4; previous revision: 1.3
done
Checking in Bugzilla/Config/Common.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Config/Common.pm,v  <--  Common.pm
new revision: 1.28; previous revision: 1.27
done
Checking in Bugzilla/DB/Schema.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB/Schema.pm,v  <--  Schema.pm
new revision: 1.124; previous revision: 1.123
done
Checking in Bugzilla/Install/DB.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/DB.pm,v  <--  DB.pm
new revision: 1.73; previous revision: 1.72
done
Checking in docs/en/xml/troubleshooting.xml;
/cvsroot/mozilla/webtools/bugzilla/docs/en/xml/troubleshooting.xml,v  <--  troubleshooting.xml
new revision: 1.14; previous revision: 1.13
done
Checking in template/en/default/account/auth/login.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/account/auth/login.html.tmpl,v  <--  login.html.tmpl
new revision: 1.23; previous revision: 1.22
done
Checking in template/en/default/admin/params/auth.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/params/auth.html.tmpl,v  <--  auth.html.tmpl
new revision: 1.5; previous revision: 1.4
done
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Added to the release notes in bug 547466.
Keywords: relnote
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: