]> git.eshelyaron.com Git - emacs.git/commit
Take precautions against ill-formed content URIs
authorPo Lu <luangruo@yahoo.com>
Thu, 11 Jul 2024 03:38:41 +0000 (11:38 +0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 11 Jul 2024 14:39:22 +0000 (16:39 +0200)
commit637d3cb0cd20133e5ac4224995e3733eb67cd481
tree110dc3a4b311f13ebfc60857ee7e89dc0afb2fc9
parent2b9ac4b917e2db71f0d9d24f6f60bd8975f5e630
Take precautions against ill-formed content URIs

* java/org/gnu/emacs/EmacsService.java (openContentUri)
(checkContentUri): Verify that URIs derived from user-provided
file names can be parsed before attempting to open them.

(cherry picked from commit e0b271e279ba5b606330908604ac4fa42a389b30)
java/org/gnu/emacs/EmacsService.java