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

Web content folder names can be created with invalid character

    Details

      Description

      Reproduction Steps:

       

      1. Set up Liferay.
      2. Go to Control Panel->Configuration->System Settings->Web Content->Virtual Instance Scope->Web Content.
      3. Confirm the following 22 characters are blacklisted by default (separated by |):

      &|'|@|\|]|}|:|=|>|/|<|[|{|%|+|#|`|?|"|;|*|~
      

      4. Go to Content->Web Content
      5. Try to create a folder with any of the blacklisted characters EXCEPT for the following three:

      '|\|`|
      

      6. Confirm that the following two error messages appear:

      The Folder Name cannot be Blank or a reserved word such as null.
      
      The Folder Name cannot contain the following invalid characters: & \' @
      ] } : = > / < [ { % + # ` ? \" ; * ~.

      7. Try to create a folder with any of the earlier three characters:

      '|\|`|
      

       

      Actual Result: The folder is created successfully.

      Expected Result: The error messages from Step #6 should appear.

       

      Reproducible in Master @ 2109262d8f92846617e9c8be744ccea10195006f

      Reproducible in 71x       @ 7d6d3f500f0588203e74eabefe8cd396b13eaaa7

        Attachments

          Activity

            People

            • Assignee:
              peyton.zhao Peyton Zhao (Inactive)
              Reporter:
              il.kim Brian I. Kim
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                44 weeks, 2 days ago

                Packages

                Version Package
                7.1.10 DXP FP8
                7.1.10.2 SP2
                7.1.3 CE GA4
                7.1.X
                Master