fix: improve mailto BCC encoding
Use URI.encode_www_form() instead of URI.encode() for mailto query parameters. This is the safer choice for query parameter encoding. Add comment about mailto URL length limits that vary by email client.
This commit is contained in:
parent
fb91f748c2
commit
be6ea56860
2 changed files with 5 additions and 1 deletions
|
|
@ -16,7 +16,7 @@
|
|||
<.button
|
||||
class="secondary"
|
||||
id="open-email-btn"
|
||||
href={"mailto:?bcc=" <> URI.encode(@mailto_bcc)}
|
||||
href={"mailto:?bcc=" <> @mailto_bcc}
|
||||
disabled={not @any_selected?}
|
||||
aria-label={gettext("Open email program with BCC recipients")}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue