url-normalizer icon indicating copy to clipboard operation
url-normalizer copied to clipboard

Large number of forward slashes in URL causes crash

Open glenscott opened this issue 9 years ago • 0 comments

The Problem is caused by the dynamic regular expressions used in the removeDotSegments() method. If you enter the Url which consists of more than 9000 forward slashes (HREF="///////////////////////////////....") this causes the following Warning:

preg_replace(): Compilation failed: regular expression is too large at offset 196611 /opt/seobility/application/models/Normalizer.php Line #233

glenscott avatar Jan 04 '16 11:01 glenscott