grails/grails-core — pull request #506 by candrews (2014-06-06 15:48:51+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#490 which was to use a regular expression instead of java.net.URI to improve performance.