Reverted 359370a8b8ca0efe99b1d4630b291ec060b69225 (refs #28645). This is a security fix.
Thanks SeungWon Kang for the report and Tim Graham for the review.