]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 12 Feb 2020 23:15:27 +0000 (23:15 +0000)
commiteaaea517c831d507b3935bb03ec3f9c069a379f4
treeb3604ed59cd870e035d222fc022bf44475ad8fef
parentdb45e7458e74e03c3c590c980a062fe77e47ffc0
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>
(cherry picked from commit 14af35852edf33f05883184cc451662438114c12)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/SIP/ILS/Patron.pm
C4/SIP/Sip.pm
C4/SIP/Sip/MsgType.pm
etc/SIPconfig.xml
t/db_dependent/SIP/Message.t