Oh, it is officially filed as a bug and a patch has been provided. Sadly the patch does more than just fix the original problem so maybe Victor (who applied the other half of the patch to core) can take a look:
https://openacs.org/bugtracker/openacs/bug?bug_number=2398