Closed
Bug 468640
Opened 17 years ago
Closed 17 years ago
IP address is the same for all designs
Categories
(Websites :: communitystore.mozilla.org, defect)
Websites
communitystore.mozilla.org
Tracking
(Not tracked)
VERIFIED
FIXED
2.0
People
(Reporter: rdoherty, Assigned: abuchanan)
References
()
Details
Attachments
(2 files)
I just noticed that all the IP addresses for the uploaded designs are all the same. My guess is we're pulling the IP address for the Netscaler, which means we should grab the HTTP_X_FORWARDED_FOR header instead.
Jeremy, am I correct?
Comment 1•17 years ago
|
||
Yep, you'll need to use the X-forwarded-for header.
| Reporter | ||
Updated•17 years ago
|
Target Milestone: 1.0 → 2.0
| Assignee | ||
Updated•17 years ago
|
Assignee: nobody → buchanae
| Assignee | ||
Comment 2•17 years ago
|
||
This requires a DB schema change because the x-forwarded-for header can be multiple IP addresses.
ALTER TABLE uploads MODIFY ip_address varchar(255);
Attachment #353241 -
Flags: review?(rdoherty)
| Reporter | ||
Comment 3•17 years ago
|
||
Comment on attachment 353241 [details]
v1, DB schema change, look for x-Forwarded-For
Code works, won't be able to truly test until it's behind the Netscaler on prod.
Attachment #353241 -
Flags: review?(rdoherty) → review+
| Reporter | ||
Comment 4•17 years ago
|
||
Alex, can you file an IT bug today to get the sql run on stage and prod?
| Assignee | ||
Comment 5•17 years ago
|
||
bug 469851 is the IT bug for DB schema update
| Assignee | ||
Comment 6•17 years ago
|
||
r20912 checking in patch
Isn't stage behind the Netscaler? Can we test there?
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 7•17 years ago
|
||
Comment 8•17 years ago
|
||
Er, I meant http://community-store.stage.mozilla.com/admin/.
Comment 9•17 years ago
|
||
NVM me; I was trying to use the /admin panel on stage (not authstage), but both are behind the NetScaler (header is: Via: NS-CACHE-6.0: 4), and verified here:
https://community-store.authstage.mozilla.com/admin/?pageno=1&perpage=100
Verified FIXED on https://community-store.authstage.mozilla.com/admin/?pageno=1&perpage=100.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•