Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

createLink() on qrcode controller with absolute=true surpresses contextPath #8

robertoschwald opened this Issue Jun 21, 2012 · 2 comments


None yet
3 participants

When creating a link on the qrcode controller with absolute=true, the generated link does not contain the contextPath.
I need an absoltue link for embedding the qrcode link into an email.


def qrCodeUrl=createLink(controller:'qrcode', action:'text', params:[text:'21213234234', size:300], absolute:true)


def qrCodeUrl=createLink(controller:'workaround', action:'text', params:[text:'21213234234', size:300], absolute:true).replace('workaround','qrcode')

@ghost ghost assigned hartsock Jun 26, 2012


goeh commented Jun 10, 2014

I can't believe this has something to do with the QrcodeController. It must be something application or environment specific. The code included in this issue description is plain Grails LinkGenerator code and does not involve code in the qrcode plugin. Is this still an issue or can we close this?


goeh commented Jun 11, 2014

Version 0.6: Tag qrcode:url/ and qrcode:image/ now supports attribute absolute="true". This will render the full path to QrcodeController (http://.....)

@goeh goeh closed this Jun 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment