Last modified: 2012-10-17 10:58:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42581, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40581 - Article feedback truncates IPv6 addresses of users
Article feedback truncates IPv6 addresses of users
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ArticleFeedbackv5 (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Special:...
: ipv6
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-27 19:33 UTC by Mormegil
Modified: 2012-10-17 10:58 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mormegil 2012-09-27 19:33:19 UTC
The article feedback extension stores IP addresses of anonymous users in a 32-character field (af_user_ip varchar(32) NULL), possibly assuming the IP address is normalized to a colon-less form. Which is not the case, and a 40-character field is needed (like e.g. in recentchanges.rc_ip in core).

Currently, in longer IPv6 addresses, the tail is cut off, see e.g. the linked URL showing a nonsensical “2001:da8:201:1056:818f:62c9:a132”.
Comment 1 Mormegil 2012-10-17 08:47:51 UTC
Fix submitted to Gerrit as I9c0fd8c9
Comment 2 Mormegil 2012-10-17 10:58:25 UTC
Merged in commit 655aa23ba737b6c33eb8461ccaa19ab35d201a49

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links