Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-3514

StringUtil.replace() causes infinite loop

Details

    Description

      StringUtil.replace(String s, String oldSub, String newSub) will go into an infinite loop if the second argument is an empty string.

      Attachments

        Issue Links

          Activity

            People

              samuel.kong Samuel Kong
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.1 EE SP6 (5.1.9)
                  5.2 EE SP5 (5.2.9)
                  6.0 EE SP1 (6.0.11)