BRANCH 4.1:
  ensured the url is set properly on clicking on a link whether the url has the project code or not.