php5: FILTER_VALIDATE_URL will invalidate a hostname that includes '-'
Bug #651049 reported by
Sven 'Darkman' Michels
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Fix Released
|
Medium
|
Jordan Hagan | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: php5
Hi,
there is a bug in php 5.3.2 which makes filter_var to fail on urls/domains/hosts that contain a dash ('-').
Since filter_var is used in some well known webfrontends (syscp for example), the bug stops users from using domains like "ubuntu-linux.org".
The patch is included in php 5.3.3.
More can be found here: http://
Regards,
Sven
Related branches
lp:~ephess/ubuntu/lucid/php5/fix-for-651049
Ready for review
for merging
into
lp:ubuntu/lucid-security/php5
- Scott Moser: Needs Fixing
-
Diff: 62 lines (+42/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/filter_validate_url.patch (+34/-0)
debian/patches/series (+1/-0)
Changed in php5 (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in php5 (Ubuntu): | |
assignee: | nobody → Jordan Hagan (ephess) |
Changed in php5 (Ubuntu Lucid): | |
status: | New → Confirmed |
To post a comment you must log in.
BTW This bug is security and has assigned CVE: http:// security- tracker. debian. org/tracker/ CVE-2010- 3710