]> git.koha-community.org Git - koha.git/commit
Bug 20292: Filter/censor info sent via SIP
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 30 Nov 2018 17:23:43 +0000 (12:23 -0500)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 24 Jun 2019 14:33:48 +0000 (15:33 +0100)
commit14af35852edf33f05883184cc451662438114c12
treedc9563d834ce62ce8449ee438913b2358c85d3d9
parent0141b797d7f495bbcea350c14e3b6aae635ce7cf
Bug 20292: Filter/censor info sent via SIP

Some libraries would like to limit the amount of personal information a SIP server sends
to arbitrary parties on a per-login basis.

Test Plan:
1) Add a new key/value pair to one of your existing login stanzas in your SIP config file
   For example: hide_fields="BD,BE,BF,PB"
2) Restart SIP
3) Send a SIP message that would normally return those fields ( in this example, a Patron Information Request )
4) Note the response has had those fields removed

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Christopher Davis <tubaclarinet@protonmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/SIP/ILS/Patron.pm
C4/SIP/Sip.pm
C4/SIP/Sip/MsgType.pm
etc/SIPconfig.xml
t/db_dependent/SIP/Message.t