[Webkit-unassigned] [Bug 17990] New: Repeated check in XMLHttpRequest::setRequestHeader

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 21 14:10:56 PDT 2008


           Summary: Repeated check in XMLHttpRequest::setRequestHeader
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: carlos.pizano at gmail.com

In XMLHttpRequest::setRequestHeader  (cpp file)

It appears that

!isValidToken(name) || !isValidHeaderValue(value)

Are performing the same test twice for '\n\r'. In other words isValidToken() is
enough until somebody fixes the FIXME in line 131.

Not a big deal.

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list