Skip to content

Conversation

@Rom1-B
Copy link
Contributor

@Rom1-B Rom1-B commented Jan 17, 2025

Checklist before requesting a review

Please delete options that are not relevant.

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.
  • This change requires a documentation update.

Description

  • It fixes !30072
  • Here is a brief description of what this PR does
    Share an article via a unique URL.

Screenshots (if appropriate):

image

#17488

@Rom1-B Rom1-B marked this pull request as ready for review January 21, 2025 09:55
@cedric-anne cedric-anne added this to the 11.0.0 milestone Jan 21, 2025
Copy link
Contributor

@AdrienClairembault AdrienClairembault left a 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.

@AdrienClairembault
Copy link
Contributor

Ok for me (besides tests) 👍

Comment on lines +131 to +132
&& isset($_GET['token'])
&& hash_equals($this->fields["token"], $_GET['token'])
Copy link
Member

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.

@cedric-anne cedric-anne modified the milestones: 11.0.0, 11.1.0 Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants