-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(knowbase): Share article with unique URL #18751
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
base: main
Are you sure you want to change the base?
Conversation
AdrienClairembault
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we also need some tests to be added.
Co-authored-by: Adrien Clairembault <[email protected]>
|
Ok for me (besides tests) 👍 |
| && isset($_GET['token']) | ||
| && hash_equals($this->fields["token"], $_GET['token']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to not have to rely on $_GET here. I do not have time right now to check if we can change this, but this is clearly I want to check before validating this PR.
Checklist before requesting a review
Please delete options that are not relevant.
Description
Share an article via a unique URL.
Screenshots (if appropriate):
#17488