Uploaded image for project: 'PHP_NETCURL'
  1. PHP_NETCURL
  2. NETCURL-67

401 Unauthorized are not catched when using authentication in SoapClient (patch for known PHP-bug)

    XMLWordPrintable

Details

    • netcurl-6.0.15

    Description

      https://bugs.php.net/bug.php?id=38703

      When using bad login data with SOAP we expect an "Unauthorized" error to be thrown. SoapClient does not seem to properly support this, so to not break the netcurl library we could use a setFlag property, to enable a temporary errorhandler for WARNING-errors. If the initial soapclient has an error caused by Unauthorized-errors, this will throw back the proper error instead of a dead-string "Can not load"-error message.

      Attachments

        Issue Links

          Activity

            People

              Tornevall Tomas Tornevall
              Tornevall Tomas Tornevall
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.