FIX #36989 : use URI::Generic instead of URI::HTTP

Open username-removed-328296 requested to merge EmilienMottet/gitlab-ce:fix_api__links into master

What does this MR do?

use URI::Generic instead of URI::HTTP for expose uri in _links in json response of project or issues

What are the relevant issue numbers?

close #36989 close #37190

Edited by username-removed-328296