Use # between base_uri and rest of uri if the base_uri doesn't end with a / or #.