refactored a bit to make way for adding ? as delimiter for valid_urlhint
now, both ? and / can be used and applic_id & applic_param can be detected