Don't rely on global title state for url generation

Change-Id: I4ae40b8ce40605235e8a274e9696fd5246eb467e
Merge "Don't rely on global title state for url generation"