title: ERR_TOO_MANY_REDIRECTS in grails
body: <p>I have a filter that is applicable for all controllers and actions</p>
  
  <pre><code>all(controller:'*', action:'*') 
  </code></pre>
  
  <p>If a certain condition is met, I am trying to redirect the user to another page. But I am getting the above stated error. I inserted some logs to see if the filter is being applied or not and I noticed that the </p>
  
  <blockquote>
    <p>if(condition){} block was being executed multiple times and hence I believe the error is occurring.</p>
  </blockquote>
  
  <p>Please let me know how I can overcome this. Thank you.</p>