Escape brackets in url