Fixed issue if, req url is like http://host/abc.js it was converted to http://host/abc.js/