Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-11663

updatetipafriendpolicy.php does not work on Windows

    XMLWordPrintable

Details

    Description

      There's a hardcoded stripping of Unix-style line endings inside:

      $userInput = trim( $userInput, "\n" );
      

      Of course this doesn't work properly when input is received from a Windows command prompt, because line endings are "\r\n" there.

      On Windows you will get this message ater specifying y(es) to all questions the script asks you:

      The role wasn't added because you didn't choose any group to assign.
      

      Attachments

        Activity

          People

            vp vp
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: