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 the pydis changes to the bot #3365

Merged
merged 5 commits into from
Mar 12, 2025

Conversation

sebkuip
Copy link
Member

@sebkuip sebkuip commented Mar 10, 2025

The python discord has added some small patches to fix some issues with caching and the image_url regex.
This PR cherry picked those fixes and merges them to the main repo.

Taaku18 and others added 5 commits January 16, 2025 00:22
Signed-off-by: Taku <45324516+Taaku18@users.noreply.github.com>
Update sponsors

Signed-off-by: Taku <45324516+Taaku18@users.noreply.github.com>
Unescaped this was permitting any character between $ (index 36) and _ (index 95), which aren't all valid in urls.
This fixes an issue where the member may not be in the cache
@Taaku18 Taaku18 merged commit 1a3bda8 into modmail-dev:development Mar 12, 2025
2 checks passed
@Taaku18 Taaku18 mentioned this pull request Mar 14, 2025
khakers pushed a commit to khakers/OpenModmail that referenced this pull request Apr 7, 2025
…age url search regex

Merge the pydis changes to the bot (modmail-dev#3365)

* Escape hyphen in regex string

Unescaped this was permitting any character between $ (index 36) and _ (index 95), which aren't all valid in urls.

* Get or fetch member when trying to reply

This fixes an issue where the member may not be in the cache

---------

Signed-off-by: Taku <45324516+Taaku18@users.noreply.github.com>
Co-authored-by: Taku <45324516+Taaku18@users.noreply.github.com>
Co-authored-by: Chris Lovering <chris.lovering.95@gmail.com>

(cherry picked from commit 1a3bda8)
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.

3 participants