Normalize URL to ends with a slash

Change-Id: Ib32f6aed1fffa636740113b17786c6ace305c300
Merge "Normalize URL to ends with a slash"