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

URL push with passphrase redirects to the passphrase page after successful validation, rather to payload url #1997

Closed
thekamilpro opened this issue Mar 24, 2024 · 8 comments · Fixed by #2059

Comments

@thekamilpro
Copy link

I think I found a bug, when creating a new URL push with your website or API, the link redirects back to the URL push, rather than the site hidden by the push; I think it should at this point redirect to the hidden path. You can see in the screenshot below the Link leads to the same address as the actual push.

image

I had quick at the code and I think this the responsible line

redirect_to preliminary_url_path(@push.url_token)

Copy link

Hello @thekamilpro, thanks for contributing to the Password Pusher community! We will respond as soon as possible.

@pglombardo
Copy link
Owner

Hi @thekamilpro - Hrm good find - the 1-click doesn't make much sense when the passphrase lockdown is in use....

I just tested it and the flow was "Click Here to Proceed", Passphrase lockdown form, "Click Here to Proceed" again and then the final URL.

Thanks/I'll fix soon.

@clmcavaney
Copy link
Contributor

clmcavaney commented Apr 17, 2024

I hit this same issue today.

If no passphrase - all good
If 1-click - all good

if passphrase - no good

@pglombardo
Copy link
Owner

Ok I think I have the right fix in #2059. A bit more testing later today and I'll push it out.

@pglombardo
Copy link
Owner

Released in v1.40.4.

@clmcavaney
Copy link
Contributor

Just tested this but the view's count doesn't appear to be decreasing.
I can view the URL way more than the number I set.
Could the view check detection be faulty when a passphrase is in the mix?

@pglombardo
Copy link
Owner

Doh thats not good. I have a fix in progress now. Thanks for the find!

@pglombardo pglombardo mentioned this issue Apr 25, 2024
8 tasks
@pglombardo
Copy link
Owner

Fix released in v1.40.8 which is building now. I added a bunch of tests to validate this going forward for each release.

Thanks for the helpful report @clmcavaney!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants