Fix building of shareUrl for base URLs containing query params
release 1.4.7