fix up url
to handle .webapp files