-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
403 After deleting link #692
Comments
I'm not able to reproduce this issue. |
We need more help reproducing this. This has been reported 3 times so far. I'm assuming this is some issue with authentication. |
What can I do for you regarding this issue?
…On 18 Jan 2024 at 17:55 +0100, Julian Prieber ***@***.***>, wrote:
We need more help reproducing this. This has been reported 3 times so far. I'm assuming this is some issue with authentication.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Best is a step-by-step setup guide how to reproduce the issue reliably, or if you were able to fix the issue documentation for that. If I use a recent version and set it up either using the docker image or NGINX/Apache, I cannot reproduce this issue. |
Just to report I'm experiencing this as well, both delete and edit links results in 403 Forbidden. SQLite backend running on IIS non-production, everything is straight out the zip folder. Let me know if I can shared anything specific to help Nothing in the Laravel log and only the 403 confirmation in the IIS log. |
Let me know if someone can edit the file system and run a debug file for me 👍 |
Please replace the file content of app/Http/Middleware/LinkId.php with this debug file: Then log in to your admin panel and try to delete a link. |
No worries, here's the output: https://gist.github.com/p-collins/ca393afd5f19c447398e541d7be58902 |
Alright, thank you so much! Here is what it should look like: You have the same Link User ID and User ID, but the So essentially your code is returning: Your database is saving the user_id as But we can adjust the code to account for that. I wasn't aware that this is possible, but this should fix it: |
Confirmed fix for me at least. |
LinkStack version
v4.7.1
Description
Page: /studio/links
Task: Delete link
Procedure: I press the DELETE (trash) button next to the link I want to delete.
What happens: Redirects to 403 - /deleteLink/907871310 - The link is not deleted
Details about your system
PHP Version 8.0.30
How to reproduce
Press the DELETE (trash) button next to the link I want to delete.
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: