Skip to content

Fix double slash in avatar upload directory path#586

Merged
pfefferle merged 1 commit intomainfrom
fix/double-slash-avatar-path
Mar 11, 2026
Merged

Fix double slash in avatar upload directory path#586
pfefferle merged 1 commit intomainfrom
fix/double-slash-avatar-path

Conversation

@pfefferle
Copy link
Copy Markdown
Owner

Summary

  • Replace trailingslashit() . '/webmention/avatars/' with \path_join() to avoid a double slash in the avatar storage directory path

Fixes #585

Use \path_join() instead of manual string concatenation with
trailingslashit() to avoid a double slash in the avatar storage
directory path.

Fixes #585
@pfefferle pfefferle requested a review from dshanske March 4, 2026 18:05
@pfefferle pfefferle self-assigned this Mar 4, 2026
@pfefferle pfefferle merged commit 5648776 into main Mar 11, 2026
9 checks passed
@pfefferle pfefferle deleted the fix/double-slash-avatar-path branch March 11, 2026 12:12
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.

Double slash line 30

1 participant