Skip to content

fix infinite loop

Rhain requested to merge Rhain/gitlab:master into master

What does this MR do?

fix text_utility.js#truncatePathMiddleToLength infinite loop

when the param of truncatePathMiddleToLength text is like 'aaa/aaa/aaa/aaa/aaa/aa/aaa/aaa/aaaa/aaaa/aaa/aaa/aaa/aaa/aaa/aaa/aaa/aa', it would cause a infinite loop.

Merge request reports