Strip passenger base url if possible