[GeoNetwork-users] security_check redirect url issue

I'm trying to fix an issue with GN 2.8 where after a user logs in the
redirecturl has the last parameter stripped off before it is used. So if it
is /srv/eng/metadata.show?id=6421&currTab=simple all is fine but if it
is /srv/eng/metadata.show?currTab=simple&id=6421 then the user gets an
error message "no ID provided".

However, I can't, for the life of me, work out where that url gets
generated (so I can fix the order and work round the issue) or where the
redirection after login is handled so I can fix the parameter stripping.

Can any one point me in the right direction?

cheers

Ian

--
Ian Turton

To update -

a) it is actually 2.10 not 2.8
b) the problem sort of goes away if I set useHtml5ui true - in that the
order of the parameters is reversed and so it works. Thus the client is
happy but it is niggling at me that it isn't really fixed :slight_smile:

Ian

On 19 October 2015 at 14:03, Ian Turton <ijturton@anonymised.com> wrote:

I'm trying to fix an issue with GN 2.8 where after a user logs in the
redirecturl has the last parameter stripped off before it is used. So if it
is /srv/eng/metadata.show?id=6421&amp;currTab=simple all is fine but if it
is /srv/eng/metadata.show?currTab=simple&amp;id=6421 then the user gets an
error message "no ID provided".

However, I can't, for the life of me, work out where that url gets
generated (so I can fix the order and work round the issue) or where the
redirection after login is handled so I can fix the parameter stripping.

Can any one point me in the right direction?

cheers

Ian

--
Ian Turton

--
Ian Turton