com web/bugs: ipv6 here too: www/report.php
| From: | Rasmus Lerdorf | Date: | Sat, 21 Jul 2018 10:30:03 +0000 |
| Subject: | com web/bugs: ipv6 here too: www/report.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27150@lists.php.net to get a copy of this message | ||
Commit: 966b95fee45e6a86ee0b2e9657321dda277aadc8
Author: Rasmus Lerdorf <rasmus@php.net> Sat, 21 Jul 2018 06:30:03 -0400
Parents: 9e2320626559caacef641dd4bedf9450650aeab2
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=966b95fee45e6a86ee0b2e9657321dda277aadc8
Log:
ipv6 here too
Changed paths:
M www/report.php
Diff:
diff --git a/www/report.php b/www/report.php
index 95098d0..79d9226 100644
--- a/www/report.php
+++ b/www/report.php
@@ -200,7 +200,7 @@ OUTPUT;
ts1,
private,
visitor_ip
- ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, "Open", NOW(), ?, INET_ATON(?))
+ ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, "Open", NOW(), ?, INET6_ATON(?))
')->execute(array(
$package_name,
$_POST['in']['bug_type'],