[Koha-bugs] [Bug 25382] opac-sendbasket.pl and opac-sendshelf.pl don't validate email addresses

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 6 02:22:44 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25382

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Created attachment 104389
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104389&action=edit
Bug 25382: validate email addresses for opac-sendbasket.pl and
opac-sendshelf.pl

This patch adds email validation to these two OPAC scripts using
Email::Valid

Test plan:
0) Don't apply patch yet
1) Send a cart to "blah at blah.blah blah at blah.blah"
2) Note the cart says it has sent to both email addresses
3) Apply patch
4) Send a cart to "blah at blah.blah blah at blah.blah"
5) Note the cart says it has an error
6) Send a cart to "blah at blah.blah"
7) Note the cart says email was sent successfully
8) Repeat above process for OPAC List functionality

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list