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

search portlet included in a theme does not generate its URLs escaped

Details

    Description

      STEPS TO REPRODUCE
      1.- Modify a theme to include this line to place the search portlet:
      $theme.search()
      2.- Refresh the page
      3.- Get the HTML source from the browser

      ACTUAL RESULT

      <form action="http://localhost:8080/web/guest/home?p_p_id=3&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_3_struts_action=%2Fsearch%2Fsearch&_3_redirect=%2Fweb%2Fguest%3Fstrip%3D0" method="get" name="fphf_null_null_3_fm" onSubmit="fphf_null_null_3_search(); return false;">
      

      The & character is not escpaed, making the W3C validation to fail

      EXPECTED RESULT
      The & should be generated as

      &amp;

      Attachments

        Issue Links

          Activity

            People

              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              sergio.sanchez Sergio Sanchez
              Rafaela Nascimento Rafaela Nascimento
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9 years, 1 week, 6 days ago

                Packages

                  Version Package
                  6.0.X EE
                  6.1.X EE
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1