Skip to content
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

Merge v4.2.7 #62

Merged
merged 7 commits into from
Feb 16, 2024
Merged

Merge v4.2.7 #62

merged 7 commits into from
Feb 16, 2024

Conversation

toufali
Copy link
Collaborator

@toufali toufali commented Feb 16, 2024

no merge conflicts

return false unless response.mime_type == 'application/ld+json'

response.headers[HTTP::Headers::CONTENT_TYPE]&.split(';')&.map(&:strip)&.any? do |str|
str.start_with?('profile="') && str[9...-1].split.include?('https://www.w3.org/ns/activitystreams')

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization High

'
https://www.w3.org/ns/activitystreams
' can be anywhere in the URL, and arbitrary hosts may come before or after it.
@toufali toufali merged commit 528b24e into main Feb 16, 2024
53 of 73 checks passed
@toufali toufali deleted the merge-v4.2.7 branch February 16, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants