URL resolving based on current flow