Re: [aur-dev] [PATCH] Redirect at previous page after a successful login

2015-06-25 Thread Gordian Edenhofer
On Thu, 2015-06-25 at 07:42 +0200, Lukas Fleischer wrote: > On Fri, 19 Jun 2015 at 15:04:14, Lukas Fleischer wrote: > > On Thu, 18 Jun 2015 at 21:28:17, Gordian Edenhofer wrote: > > > After the user was authenticated a redirect to the site which > > > linked the user to the login page is done. This

Re: [aur-dev] [PATCH] Redirect at previous page after a successful login

2015-06-24 Thread Lukas Fleischer
On Fri, 19 Jun 2015 at 15:04:14, Lukas Fleischer wrote: > On Thu, 18 Jun 2015 at 21:28:17, Gordian Edenhofer wrote: > > After the user was authenticated a redirect to the site which > > linked the user to the login page is done. This fixes FS#32481. > > --- > > web/html/login.php| 1 + > >

Re: [aur-dev] [PATCH] Redirect at previous page after a successful login

2015-06-19 Thread Lukas Fleischer
On Fri, 19 Jun 2015 at 15:50:57, Marcel Korpel wrote: > * Lukas Fleischer (Fri, 19 Jun 2015 15:04:14 > +0200): > >> +>> type="hidden" name="referer" > >> value=" >> $_SERVER['HTTP_REFERER'] : '/'; ?>" /> > > > > Please use urlencode() to escape the value of > > $_S

Re: [aur-dev] [PATCH] Redirect at previous page after a successful login

2015-06-19 Thread Marcel Korpel
* Lukas Fleischer (Fri, 19 Jun 2015 15:04:14 +0200): >> + > type="hidden" name="referer" >> value="> $_SERVER['HTTP_REFERER'] : '/'; ?>" /> > > Please use urlencode() to escape the value of > $_SERVER['HTTP_REFERER']. With due respect, I think you're wrong here: he

Re: [aur-dev] [PATCH] Redirect at previous page after a successful login

2015-06-19 Thread Lukas Fleischer
On Thu, 18 Jun 2015 at 21:28:17, Gordian Edenhofer wrote: > After the user was authenticated a redirect to the site which > linked the user to the login page is done. This fixes FS#32481. > --- > web/html/login.php| 1 + > web/lib/acctfuncs.inc.php | 15 ++- > 2 files changed,

Re: [aur-dev] [PATCH] Redirect at previous page after a successful login

2015-06-19 Thread Marcel Korpel
* Gordian Edenhofer (Thu, 18 Jun 2015 21:28:17 +0200): > After the user was authenticated a redirect to the site which > linked the user to the login page is done. This fixes FS#32481. > --- […] > + name="referer" value=" $_SERVER['HTTP_REFERER'] : '/'; ?>" /> You s

Re: [aur-dev] [PATCH] Redirect at previous page after a successful login

2015-06-18 Thread Gordian Edenhofer
On Thu, 2015-06-18 at 21:28 +0200, Gordian Edenhofer wrote: > After the user was authenticated a redirect to the site which > linked the user to the login page is done. This fixes FS#32481. > --- > web/html/login.php| 1 + > web/lib/acctfuncs.inc.php | 15 ++- > 2 files change

[aur-dev] [PATCH] Redirect at previous page after a successful login

2015-06-18 Thread Gordian Edenhofer
After the user was authenticated a redirect to the site which linked the user to the login page is done. This fixes FS#32481. --- web/html/login.php| 1 + web/lib/acctfuncs.inc.php | 15 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/web/html/login.php b/we