aboutsummaryrefslogtreecommitdiffstats
path: root/common/mbox-util.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-29common: New function to validate domain names.Werner Koch1-0/+39
* common/mbox-util.c (is_valid_domain_name): New. * common/t-mbox-util.c (run_dns_test): New test. Signed-off-by: Werner Koch <[email protected]> (cherry picked from commit ddee9f9409fb5a089883eab0fadef7b9b7e61e72)
2016-11-05Change all http://www.gnu.org in license notices to https://Werner Koch1-1/+1
--
2016-08-24doc: Some additional source commentsWerner Koch1-0/+4
--
2016-08-22common: Change license of mbox-util to LGPLv2.1+.Werner Koch1-14/+4
-- Noet that the code has entirely been written by me. Signed-off-by: Werner Koch <[email protected]>
2015-03-20common: Add function is_valid_mailbox_mem.Werner Koch1-25/+80
* common/mbox-util.c (mem_count_chr): New. (my_memstr): New. (has_invalid_email_chars): Change args to work on a buffer. (is_valid_mailbox_mem): New. (is_valid_mailbox): Rewrite to use is_valid_mailbox_mem. Signed-off-by: Werner Koch <[email protected]>
2015-02-26gpg: Lowercase mailbox for PKA lookups.Werner Koch1-3/+4
* common/stringhelp.c (ascii_strlwr): New. * common/mbox-util.c (mailbox_from_userid): Downcase result. -- Signed-off-by: Werner Koch <[email protected]>
2015-02-25Move new mailbox.c source file to common/.Werner Koch1-9/+18
* g10/mailbox.c: Move to ... * common/mbox-util.c: new file. * common/mbox-util.h: New. Include where needed. * g10/t-mailbox.c: Move to ... * common/t-mbox-util.c: new file. -- This will make it easier to use the code by other modules in common/.
2015-02-24gpg: Add function to extract the mailbox.Werner Koch1-0/+184
* g10/misc.c (has_invalid_email_chars, is_valid_mailbox) (is_valid_user_id): Move to ... * g10/mailbox.c: new file. (string_has_ctrl_or_space, has_dotdot_after_at): New. (has_invalid_email_chars): New. * g10/t-mailbox.c: New. * g10/Makefile.am (module_tests): Add t-mailbox. (t_mailbox_SOURCES, t_mailbox_LDADD): New. -- Signed-off-by: Werner Koch <[email protected]>