Append character instead of String where possible
WICKET-5345 Url.canonical() breaks when there are two consecutive "parent" segments followed by a normal segment