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

setSignature may crash setUserAgent if array is sent into merger

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: netcurl-6.1.0, netcurl-6.1.1, netcurl-6.1.2
    • Fix Version/s: netcurl-6.1.3
    • Component/s: None
    • Labels:
      None
    • Sprint:
      netcurl-6.1.3

      Description

      Not working:

      $uAgent = [
      sprintf('NETCURL-%s', (new NetWrapper())->getVersion()),
      ]
      WrapperConfig::setSignature($uAgent); 

      Working:

      $uAgent = [ sprintf('NETCURL-%s', (new NetWrapper())->getVersion()), ] 
      WrapperConfig::setSignature(implode('/', $uAgent)); 

       

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration