Uploaded image for project: 'Zeta Components'
  1. Zeta Components
  2. ZETACOMP-49

"X-Powered-By:eZ Components MvcTools" in the PHP header and "User-Agent: eZ Components" in the email header

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Mail, MvcTools
    • None

    Description

      Indicate "X-Powered-By:eZ Components MvcTools" in the PHP header and "User-Agent: eZ Components" in the emails may be a vulnerability for identify a platform.

      For remove the header in the email :
      $mail = new ezcMailComposer();
      $mail->appendExcludeHeaders(array('User-Agent'));

      For replace "X-Powered-By" :
      $response->generator="PHP"; //in runResponseFilters method of the controler

      Attachments

        Activity

          People

            jeromer Jérôme Renard
            alex57 Alexandre Leblanc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: