Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-246

Use of undefined constant OS_WINDOWS in socket.php

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: no change required
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.1.2
    • Component/s: E-mails
    • Labels:
      None

      Description

      When SMTP server is configured for email sending, then this constant is accessed, but it's missing and always is assumed as "true" in "if" operators. This could possibly lead to malformed email body sent to SMTP server.

      Should investigate about this constant or totally replace it with:
      DIRECTORY_SEPARATOR == '
      ' check.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: