Library.cgi crash when using depositor
|Reported by:||ak19||Owned by:||ak19|
A bug caused the Depositor to crash library.cgi upon selecting a collection.
The bug: recpt code was previously looping on parameter names in args, applying substring on them in order to compare them to a prefix for equality. However, the loop also tried to substring the arg parameter name when this was shorter than the prefix, causing illegal indexing errors.
The fix for this bug needed to be applied to two locations, which both repeated the error (wizardaction and depositoraction).
Fix committed with code revision 23012, with fixes to: wizardaction.cpp and depositoraction.cpp