Before: https://www.domain.com/tmp/././easy_capture//../../images/ec/dirty-firefox.jpg
After: https://www.domain.com/images/ec/dirty-firefox.jpg