mirror of
https://github.com/anonaddy/anonaddy.git
synced 2026-04-25 14:15:53 +03:00
[GH-ISSUE #349] [Bug] Special character email address is displayed/stored incorrectly #288
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/anonaddy#288
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexaka1 on GitHub (Oct 17, 2022).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/349
I was demonstrating to my friends how silly RFC 5322 and 6854 are, because of how wild email addresses can be. And I think I encountered a bug.
I used AnonAddy Android by Stjin to create the following address:
#!$%&’*+-/=?^_`{}|~@mydomain.com. I noticed that upon creation the app only showed#!$%&’*@mydomain.com, the address suspiciously got cut off at the+sign. The same occurs in the browser extension. I checked the webapp and strangely#!$%&’*+-/=?^_`{}|~@mydomain.comappears in the alias list. When I click copy, the full address is copied, however when I try to clickSend fromthe address shown there is the cut off variant.To my understanding, the full address is a valid email address. Now I can't test it, because every email client I have tried tell me it's an invalid address, which is incredibly ironic (email validation is a nice rabbit hole). I suspect that AnonAddy specifically handles
+character differently, because of how send-from aliases are constructed.It's interesting that there is a discrepancy between the webapp's alias list and the actual value the API provides.
(I escaped the backtick correctly in markdown, but just in case here's plaintext: #!$%&’*+-/=?^_`{}|~@mydomain.com which also needed a backslash to escape the single backtick)
@willbrowningme commented on GitHub (May 20, 2024):
Anything after the
+is treated as the plus-extension by addy.io. You are right that addy.io uses plus-extensions for replying/sending from aliases.In the eyes of addy.io
alias+abc@example.comis the same alias asalias+xyz@example.com. The plus extension is stored in a different database column and the web app displays both of these.However the mobile app and extension must only show the
local_partwhilst not including the extension.It doesn't matter what you put after the
+it will still arrive and be forwarded by the same alias in the same way that if your email was#!$%&’*@gmail.comyou could add any plus extension to that but it would always go to your address.