[wpkg-users] [Bug 278] Wrong host match

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Wed Dec 12 15:06:26 CET 2012


http://bugzilla.wpkg.org/show_bug.cgi?id=278

Rainer Meier <r.meier at wpkg.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |r.meier at wpkg.org

--- Comment #1 from Rainer Meier <r.meier at wpkg.org>  ---
Hi Stefan,

Hey, this is really cool. Your regular expression exactly features 3 "."
symbols and therefore is trheated as a potential IP address I think. Adding one
more "."-Expression would treated solve the issue.
The issue mainly starts due to the combined hostname/IP matching feature in
early days of WPKG. Actually as you already point out this has been solved by
using extended host attribute match now where IP is treated independently from
host names.

However I think I could add some code to check whether expressions with 3 dots
are made up of only numbers between dots and therefore prevent overmatching.

As you already noticed it might be much better to go for hostname match rather
than just the historical "host" attribute.

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list