[Kimchi-devel] [PATCH] bug fix: Redirect user to the URL accessed prior to login

Crístian Viana vianac at linux.vnet.ibm.com
Mon Oct 6 14:37:16 UTC 2014


Reviewed-by: Crístian Viana <vianac at linux.vnet.ibm.com>
Tested-by: Crístian Viana <vianac at linux.vnet.ibm.com>

On Qui, 2014-10-02 at 23:04 -0300, Aline Manera wrote:
> When a non-logged user tries to access a guest console:
> 
> https://localhost:8001/vnc_auto.html?port=64667&path=?token=dWJ1bnR1MTQuMDQ&encrypt=1
> 
> He/she will be asked to login and then he/she must be redirected back to the
> same URL accessed prior to login (ie, the guest console).
> 
> To do that, we use the "next" query parameter. But commit 22eba438 wrongly
> overrided this logic by only querying the last tab visited which was
> redirecting user to the Kimchi main page instead of the guest console.
> Fix it.
> 
> Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>




More information about the Kimchi-devel mailing list