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

AllowedRedirectHosts fix won't work with ports

    XMLWordPrintable

    Details

      Description

      The AllowedRedirectHost changes implemented in EZP-20052 won't work if you have eZPublish set to work with ports.

      Steps to Reproduce

      1. Install eZPublish with a port based url ( http://my-domain.com:18470 )
      2. Make sure the site has at least two languages. Here I'll use Portuguese and English
      3. Open the frontend ( http://my-domain.com:18470 )
      4. Try to change the language to Portuguese trough the language switcher ( http://my-domain.com:18470/por )
      5. The action will be prevented with "Redirection requested on non-authorized host 'my-domain.com'"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours
                  6h