You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
JCEF is erroneously constructing temp file names used for the scheme registration that the subprocess helper needs. There is a bad assumption that CefGetPath will return a temp path with a trailing slash in util::GetTempFileName.
Workarounds
export TMPDIR=/tmp/
sudo chmod o+w / (dont do this)
Proposed Fix
Check for and insert a trailing slash as needed or use std::filesystem::path to avoid these kinds of errors.
The text was updated successfully, but these errors were encountered:
Description
Custom registered schemes never get registered in the subprocesses causing them to not work.
To Reproduce
Expected behavior
Custom schemes should work.
Versions:
Additional context
JCEF is erroneously constructing temp file names used for the scheme registration that the subprocess helper needs. There is a bad assumption that
CefGetPath
will return a temp path with a trailing slash in util::GetTempFileName.Workarounds
export TMPDIR=/tmp/
sudo chmod o+w /
(dont do this)Proposed Fix
Check for and insert a trailing slash as needed or use
std::filesystem::path
to avoid these kinds of errors.The text was updated successfully, but these errors were encountered: