Skip to content

Fix: Image url regex in thread send method #3378

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

Merged
merged 2 commits into from
Jun 13, 2025

Conversation

Zallom
Copy link

@Zallom Zallom commented Jun 1, 2025

Revert image URL regex change in thread.py. The current regex only matches the protocol and domain, and no longer validates full image URLs.

Revert image URL regex change in thread.py. The current regex only matches the protocol and domain, and no longer validates full image URLs.

Signed-off-by: Zallom <[email protected]>
@StephenDaDev
Copy link
Member

@Taaku18 This solves a big that was implemented in the code that is causing pretty widespread issues.

CC: @lorenzo132 @martinbndr

@obaseosa
Copy link

obaseosa commented Jun 2, 2025

win

@martinbndr
Copy link
Contributor

Yea this fix needs to be implemented.

@obaseosa
Copy link

obaseosa commented Jun 6, 2025

Is this fixed yet?

@martinbndr
Copy link
Contributor

Is this fixed yet?

@obaseosa since the pr is not merged yet it is not.

Taaku18
Taaku18 previously approved these changes Jun 13, 2025
@Taaku18 Taaku18 changed the base branch from master to development June 13, 2025 23:28
@Taaku18 Taaku18 dismissed their stale review June 13, 2025 23:28

The base branch was changed.

@Taaku18 Taaku18 merged commit a794ebd into modmail-dev:development Jun 13, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants