Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input parameter "redirect_decoded" is not valid #710

Closed
plegall opened this Issue Jun 15, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@plegall
Copy link
Member

plegall commented Jun 15, 2017

With Piwigo 2.9.1, if you have have set a $conf['gallery_url'] then the redirect path check will always fail.

$_POST[redirect_decoded] = /demo/admin.php
get_gallery_home_url() = http://fr.piwigo.org/demo

Piwigo encountered an irrecoverable error

[Hacking attempt] the input parameter "redirect_decoded" is not valid

#1 check_input_parameter identification.php(52)

@plegall plegall closed this in fffd351 Jun 15, 2017

plegall added a commit that referenced this issue Jun 15, 2017

(cp fffd351) fixes #710, avoid using get_gallery_home_url()
because it may be different from get_absolute_root_url() if you have a $conf['gallery_url']

@plegall plegall added this to the 2.9.2 milestone Jun 21, 2017

@plegall plegall self-assigned this Jun 21, 2017

@plegall plegall added the Type: Bug label Jun 21, 2017

@bhlevca

This comment has been minimized.

Copy link

bhlevca commented Jun 25, 2017

Hi, Thanks for the fix. It allowed me to log in again.

Bogdan

@ipereda

This comment has been minimized.

Copy link

ipereda commented Aug 8, 2017

Thanks for the fix!
Nacho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.