Decode URI & pass fragment if query string is set