id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 8868,After login trac always redirects to default page loosing initial target,anonymous,anatoly techtonik,"If user access a specified target, e.g. a wiki page or certain ticket and has to log-in in between, the target gets lost and user is redirected to the default page. It is similar to a problem described [ticket:2210 here] for PermRedirectPlugin. Actually the solution proposed there (attachment:ticket:2210:PermRedirect-urlfix.2.diff) by simply replacing {{{ req.redirect(req.href.login()) }}} with {{{ ref_url = req.base_url + req.path_info if(req.query_string): ref_url = ref_url + ""?"" + req.query_string login_url = req.href.login(referer=ref_url) req.redirect(login_url) }}} also works for the NoAnonymousPlugin ",defect,closed,normal,NoAnonymousPlugin,critical,fixed,redirect,s.major@…,0.12