Closed Bug 418475 Opened 17 years ago Closed 17 years ago

Add pass-thru for IP to help facilitate testing

Categories

(Webtools :: Bouncer, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: morgamic, Assigned: wenzel)

Details

Attachments

(1 file)

Fred, can you adjust trunk so it allows the user to specify an IP address that overrides the default? We need it to make testing feasible.
Attached patch IP PassthruSplinter Review
All right, this patch should do the trick, please review, morgamic. You need to set the ALLOW_TEST_IP define to true in the config file. Then you can add &ip=123.456.789.012 (yeah, with a valid IP) to the GET request in order to test GeoIP behavior. For extra credit, it's also PHP5-compatible now.
Attachment #304516 - Flags: review?(morgamic)
Attachment #304516 - Flags: review?(morgamic) → review+
All right, I checked this in to SVN r10578.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: