[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
Sat May 9 17:32:53 CEST 2020


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

David Roberts <david.roberts at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #104389|0                           |1
        is obsolete|                            |

--- Comment #3 from David Roberts <david.roberts at ptfs-europe.com> ---
Created attachment 104626
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104626&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

Signed-off-by: David Roberts <david at koha-ptfs.co.uk>

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


More information about the Koha-bugs mailing list