summaryrefslogtreecommitdiffhomepage
path: root/Private/Source/PEFCodeManager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Private/Source/PEFCodeManager.cxx')
-rw-r--r--Private/Source/PEFCodeManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Private/Source/PEFCodeManager.cxx b/Private/Source/PEFCodeManager.cxx
index efebef48..347f7f7a 100644
--- a/Private/Source/PEFCodeManager.cxx
+++ b/Private/Source/PEFCodeManager.cxx
@@ -43,7 +43,7 @@ PEFLoader::PEFLoader(const VoidPtr blob) : fCachedBlob(nullptr) {
PEFLoader::PEFLoader(const char *path) : fCachedBlob(nullptr), fBad(false) {
OwnPtr<FileStream<char>> file;
- file.New(const_cast<Char *>(path));
+ file.New(const_cast<Char *>(path), kRestrictRB);
if (StringBuilder::Equals(file->MIME(), this->MIME())) {
fPath = StringBuilder::Construct(path).Leak();