Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-5261

A site with URL Name pop crashes the search.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.4.5
    • Component/s: Installer
    • Labels:
      None
    • Environment:
      Happens in all environments.
    • Bug Priority:
      Category 1
    • Testcase ID:
      Hide

      Share-708

      Show
      Share-708

      Description

      A site with URL Name pop crashes the search.

      Steps to reproduce:
      Create Site

      Name: Pop
      URL Name: pop

      Go to the Document Library and add a document in the Pop-site

      Now search for that document in the search field in Share.

      This crashes the search page. You only see "Searching..." and if you use Firebug to look at
      the requests you see that one of them returns with a 500 error.

      The reason why this is happening is because pop is a method for Javascript arrays and I guess that this error will also occur if you choose a URL Name for any other method for Javascript arrays.

      This might also be a security issue. It's not good if a URL Name of a Site can call methods on Javascript arrays.

      I have test this with Alfresco Enterprise 3.4.1

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs (Inactive)
                Reporter:
                ricn Richard Nyström (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 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 - 2 hours
                  2h

                    Structure Helper Panel