View Issue Details

IDProjectCategoryView StatusLast Update
0013065mantisbtauthenticationpublic2011-12-03 10:29
Reporterzett Assigned Todregad  
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionduplicate 
Product Version1.2.0 
Summary0013065: login_page.php return paremter is ignored, when already logged in
Description

When having a Link like

http://<mantisserver>/mantisbt-1.2.0/login_page.php?return=%2Fmantisbt-1.2.0%2Fview.php%3Fid%3D3851

Then you have two options:

1.) You're not logged in

Then you'll get a redirect to login_page.php for getting Username and password. After checking, there will be an redirect to Bug 0003851

2.) You're already logged in

Then you'll get an rediect to my_view_page.php

How can i fix this behaviour?

TagsNo tags attached.

Relationships

duplicate of 0013060 closeddregad links from excel to mantis 

Activities

yw84ever

yw84ever

2011-06-10 06:18

reporter   ~0028964

How about just linking to the bug? if already logged in, great, you are there. If not, mantisbt will send you to the login page, constructing the url such that the bug page is the return page.

yw84ever

yw84ever

2011-06-10 06:24

reporter   ~0028965

Last edited: 2011-06-10 06:25

verified the same with 1.2.5

(link to server/mantis/login_page.php?return=/mantis/view.php?id=236 )
works as expected if needing to log in (thus there is a return to the form, right?)

but not if already logged in. behavior is as described above in both cases.

Lapinkiller

Lapinkiller

2011-06-10 07:16

reporter   ~0028968

Last edited: 2011-06-10 07:28

same problem as here : 0013060

i will try to do a patch...

EDIT : patch attached on bug 0013060