Skip to content

Fix GPG keys link to use the current request URI#1390

Merged
sy-records merged 1 commit into
php:masterfrom
lufei:fix/gpg-link
Sep 7, 2025
Merged

Fix GPG keys link to use the current request URI#1390
sy-records merged 1 commit into
php:masterfrom
lufei:fix/gpg-link

Conversation

@sy-records

Copy link
Copy Markdown
Member

Close #1389

@github-actions

github-actions Bot commented Sep 6, 2025

Copy link
Copy Markdown
Contributor

🚀 Regression report for commit 52e8bd6 is at https://web-php-regression-report-pr-1390.preview.thephp.foundation

@github-actions

github-actions Bot commented Sep 6, 2025

Copy link
Copy Markdown
Contributor

🚀 Preview for commit 52e8bd6 can be found at https://web-php-pr-1390.preview.thephp.foundation

@saundefined saundefined left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@sy-records
sy-records merged commit 34cb9a7 into php:master Sep 7, 2025
5 checks passed
@sy-records
sy-records deleted the fix/gpg-link branch September 7, 2025 04:09
Comment thread include/version.inc
</ul>

<a href="#gpg-<?php echo $mver; ?>">GPG Keys for PHP <?php echo $mver; ?></a>
<a href="<?php echo $_SERVER['REQUEST_URI']; ?>#gpg-<?php echo $mver; ?>">GPG Keys for PHP <?php echo $mver; ?></a>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This introduces an XSS issue, wouldn't it?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

marcosmarcolin pushed a commit to marcosmarcolin/web-php that referenced this pull request Oct 9, 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.

Links to GPG keys no longer work

4 participants