1

Calling a redirect inside a controller action always add a strange fragment to the redirect url.

Grails 2.1.0

def index = {
   ...
   //Spring security programmatic authentication
   ...
  redirect(uri: '/me')
}

Whill redirect the browser to /me#_=_

Tried to alter the redirect adding

redirect(uri: '/me', fragment:null)

or

redirect(uri: '/me', absolute:true)

don't change the result

where that #_=_ came from????

Fabiano Taioli
  • 5,270
  • 1
  • 35
  • 49
  • 1
    Is it just a vanilla grails install with only the Spring Security plugin added? You really haven't given enough information to figure out what's going on. – cdeszaq Jul 12 '12 at 13:16
  • It's a bug on Facebook Connect [found this answer][1] [1]: http://stackoverflow.com/questions/7131909/facebook-callback-appends-to-return-url – Fabiano Taioli Jul 13 '12 at 09:06

0 Answers0