Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-113441

Validate source URL follows the format for friendly URLs

    Details

      Description

      As a site admin

      I want Liferay to validate the source URL

      so that I cannot include a URL invalid

       

      Acceptance criteria

      Given a redirection

      When a user types an invalid source URL and clicks on create

      Then she will receive an error and the redirection is not created

      Test Scenarios

      ID Test Priority Test Scenarios Covered by Backend (Unit/Integration)? Test to add
      1.14 The source URL is too long yes Manual
      1.15 The source URL starts with a slash yes Manual
      1.16 5 The source URL has an invalid character yes Redirect#AddSourceURLWithInvalidCharacters
      1.17 5 The source URL end with a slash yes Manual
      1.18 4 The source URL has a double slash yes Manual
      1.19 4 The source URL has a space yes Manual

        Attachments

          Activity

            People

            • Assignee:
              austin.chiang Austin Chiang
              Reporter:
              pablo.agulla Pablo Agulla
              Engineering Assignee:
              Alicia Garcia
              Recent user:
              Austin Chiang
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                Master