Hello all, It's been 2 days that I am stuck in a stupid error. I have a "add glossary" button in my application, and when I click that button, the browser gives me the error: "This page isn’t working, 127.0.0.1 redirected you too many times." Now this is a redirect loop. And it's caused by the statement $response.sendRedirect($xwiki.getURL($newGlossaryReference, 'inline', "$!{request.queryString}&title=${escapetool.url($glossaryItem)}")) in my code I guess. I am not able to figure out why this is looping even if there is no loop. I have tried certain things but there is no progress. Moreover, my title bar appear like this: http://127.0.0.1:8080/xwiki/bin/inline/Glossary/Hello?parent=Glossary.WebHom... Here is my complete code: https://pastebin.com/p95DeHMg Could someone please take some time and help me out? IRC:sarthakg Thanks Sarthak Gupta