hashbang -> query conversion