Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-277

URI references using HTTPS protocol are not properly handled by the XSECURIResolverGenericWin32::resolveURI method.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • C++ 1.6.0, C++ 1.6.1, C++ 1.7.0, C++ 1.7.1, C++ 1.7.2
    • C++ 2.0.0
    • C++
    • Security Level: Public (Public issues, viewable by everyone)
    • None
    • MS Windows

    Description

      HTTPS protocol used in URI reference isn't recognized as valid URI scheme. Note: this bug exists also in XSECURIResolverGenericUnix class.
      Simple possible solution: declare new pattern for this scheme

      static const XMLCh gHttpsScheme[] =

      { chLatin_h, chLatin_t, chLatin_t, chLatin_p, chLatin_s, chNull }

      ;

      and replace two lines at end of the "resolveURI" method by code as below:

      // Is the scheme a HTTP or HTTPS?
      if (!XMLString::compareIString(xmluri->getScheme(), gHttpScheme) ||
      !XMLString::compareIString(xmluri->getScheme(), gHttpsScheme)) {

      Attachments

        Activity

          People

            scantor Scott Cantor
            mbyst Michal Bystrianin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: