Fix dot-segment encoding for chained "../" and "./" in generated URLs

Closes #3592341

Merge request reports

Loading