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

Image embeding in bulk mailer fails for relative URLs #319

Open
jandd opened this issue Jan 15, 2024 · 0 comments
Open

Image embeding in bulk mailer fails for relative URLs #319

jandd opened this issue Jan 15, 2024 · 0 comments

Comments

@jandd
Copy link
Contributor

jandd commented Jan 15, 2024

Describe the bug

If a relative URL is used in mail texts for the admin mail functionality the request handler crashes.

To Reproduce

Steps to reproduce the behavior:

  1. Login as admin user
  2. Go to /admin/send_email/
  3. Select recipient group
  4. Fill mail text and include an image with a relative ('/media/...') URL
  5. Send test mail
  6. See a 404 error

Expected behavior

Relative URLs are handled properly mail is sent.

Additional context

Log contains [ValueError: unknown url type: '/media/...

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

No branches or pull requests

1 participant