AC-67 Trim space chars from end of URL