fix bug in base url slash dedupping
Merge branch 'master' into RELEASE_20140325