[Bug 4365] Software error for an URL with multiple "+" signs together in online Markup Validator

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4365

           Summary: Software error for an URL with multiple "+" signs
                    together in online Markup Validator
           Product: Validator
           Version: HEAD
          Platform: PC
               URL: http://validator.w3.org/check?uri=http%3A%2F%2Fmissingno
                    .ifrance.com%2FC%2B%2B.php
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Parser
        AssignedTo: link@pobox.com
        ReportedBy: missingno@ifrance.com
         QAContact: www-validator-cvs@w3.org


Attempting to validate a page with multiple "+' signs in it makes the validator
throw an error.

Example:
Validating http://missingno.ifrance.com/C++.php doesn't work.
The software gives the following error message:

"Software error:

Nested quantifiers in regex; marked by <-- HERE in
m/^/check?uri=http://missingno.ifrance.com/C++ <-- HERE .php&charset=(detect
automatically)&doctype=Inline/ at (eval 18) line 14.

For help, please send mail to the webmaster ([no address given]), giving this
error message and the time and date of the error."


Reproducible using the online version of the validator (v0.7.4).
I was unable to reproduce this bug with a local copy of the validator (using
v0.7.2 on Linux Ubuntu [Edgy]).
Also, this bug doesn't trigger if the URL contains only one "+".
Validating http://missingno.ifrance.com/C+.php works as expected.

Hope this helps.

Received on Sunday, 4 March 2007 22:20:39 UTC