Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 5.2.3
    • Fix Version/s: 6.0.0 Preview
    • Component/s: None
    • Labels:
      None

      Description

      There is a bug when a page name begins with a i18n code and using virtual hosting.
      ex:
      http://local.bonjean.info/designation-criteria
      de is code for german and is defined by default in web.xml. Result is a 500 error.

      Stack trace :
      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      java.lang.String.substring(String.java:1937)
      com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:175)
      com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      com.liferay.portal.servlet.filters.threadlocalcache.ThreadLocalCacheFilter.processFilter(ThreadLocalCacheFilter.java:55)
      com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
      com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
      com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
      org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  10 years, 11 weeks, 1 day ago

                  Packages

                  Version Package
                  6.0.0 Preview