Comments (10)
Alright, thank you so much!
Here is what it should look like:
You have the same Link User ID and User ID, but the
The code compares the two and if they're not identical the request gets blocked.
request still gets blocked.
So essentially your code is returning:
1 ≠ 1
Your database is saving the user_id as "1"
not 1
. I wasn't able to reproduce this on MySQL or SQLite.
But we can adjust the code to account for that. I wasn't aware that this is possible, but this should fix it:
https://gist.github.com/JulianPrieber/f08014916904a0a294002cac70bea29f
from linkstack.
I'm not able to reproduce this issue.
For testing, can you create a new Link and then try to delete it. Does it work? Maybe an update created the problem.
Also check your Apache2 log and Lavarel Log.
Maybe @JulianPrieber is able to reproduce this issue.
from linkstack.
We need more help reproducing this. This has been reported 3 times so far. I'm assuming this is some issue with authentication.
from linkstack.
from linkstack.
What can I do for you regarding this issue?
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.
There has to be something causing this, we're just not sure what it is.
from linkstack.
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.
from linkstack.
Let me know if someone can edit the file system and run a debug file for me 👍
from linkstack.
Please replace the file content of app/Http/Middleware/LinkId.php with this debug file:
https://gist.github.com/JulianPrieber/d5318ca83f09879f93a1092fea38bb8c
Then log in to your admin panel and try to delete a link.
from linkstack.
No worries, here's the output:
https://gist.github.com/p-collins/ca393afd5f19c447398e541d7be58902
from linkstack.
Confirmed fix for me at least.
from linkstack.
Related Issues (20)
- Text block twice in the list HOT 1
- linkstack page contains DOS path separatoprs
- 502 bad gateway nginx HOT 7
- Bluesky icon issue
- Dashboard / Admin becomes gradually unresponsive HOT 1
- adding Email Address Block not adding anything HOT 3
- Unsupported cipher or incorrect key length. Supported ciphers are: aes-128-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm HOT 7
- Vcard still shows WORK and HOME labels HOT 5
- 500 | Server Error HOT 31
- Database connection - non docker HOT 2
- Copy link issue HOT 6
- Matrix Synapse usernames are not valid links HOT 1
- Selecting username at `studio/page` forces reload unless username is changed.
- Line breaks in display name are too large.
- Links no longer copy as argument of permalink.
- cannot open Instagram link on a linkstack page HOT 5
- the page view on a mobile chrome is really horrible, how to fix this? HOT 3
- nginx reverse proxy cannot load page content HOT 2
- Predefined Site drop-down list not visible
- Version 4.7.7 is still tagged as latest, instead of 4.8.0, making the updater not work HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkstack.