grails/grails-core — pull request #504 by candrews (2014-06-05 20:43:23+00:00)
Title: GRAILS-11333: Handle already absolute URLs

When a "uri" is provided to the link method and the "absolute" parameter is true, check if the provided uri is already absolute before trying to make it absolute.

I've incorporated the feedback from grails/grails-core/pull/490 which was to use a regular expression instead of java.net.URI to improve performance.