Closed (fixed)
Project:
Rate
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2012 at 09:20 UTC
Updated:
21 Mar 2012 at 12:30 UTC
Rate uses $_SERVER['REMOTE_ADDR'] to find out the IP of the current use, to be able to find out if the user already voted. It should use the ip_address() function to be able to function correctly behind a reverse proxy, like votingapi already does.
Patch to fix this, is attached.
Note that this issue is assigned to 6.x-1.x branch, but applies to all versions of Rate.
| Comment | File | Size | Author |
|---|---|---|---|
| rate.ip_address.patch | 595 bytes | rolf van de krol |
Comments
Comment #1
mauritsl commented(Heee Rolf)
Committed to GIT. Thanks for the patch!
Will be available in 6.x-1.4 and 7.x-1.4 releases.