You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mrsdizzie 2842f6cf42
Include query in sign in redirect (#11579)
* Include query in sign in redirect

Include query string in ctx.Data["SignInLink"] so people are redirected to the right page after singing in. Fixes case of:

Visit:

 https://try.gitea.io/mrsdizzie/testcase/issues?q=&type=all&sort=&state=open&labels=7071&milestone=0&assignee=0

Sign in, then redirected to:

 https://try.gitea.io/mrsdizzie/testcase/issues

Create a new "SignInLink" instead of updating the existing "Link" because too many places in the code assume "Link" won't have a query

* Apply suggestions from code review

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
..
alert.tmpl Security: fix XSS attack on alert (#973) 7 years ago
delete_modal_actions.tmpl Indent all templates with tabs 9 years ago
footer.tmpl Move tributejs to npm/webpack (#11497) 4 years ago
footer_content.tmpl Add translatable Powered by Gitea text in footer (#9600) 5 years ago
head.tmpl Fix serviceworker output file and misc improvements (#11562) 4 years ago
head_navbar.tmpl Include query in sign in redirect (#11579) 4 years ago
paginate.tmpl Unifies pagination template usage (#6531) (#6533) 5 years ago