sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
12.79k stars 1.43k forks source link

CustomChromiumFlags and --single-argument issue #4033

Closed offhub closed 1 day ago

offhub commented 6 days ago

Describe what you noticed and did

Flags defined in the CustomChromiumFlags setting must be added before the --single-argument argument (if present), or these flags will not work.

  1. Install Sandboxie Plus 1.14.2+

  2. Set

    CustomChromiumFlags=--disable-features=PrintCompositorLPAC --disable-gpu
  3. Run sandboxed

    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --single-argument https://example.com
  4. The browser will try to load a page with flags added to the end of the url.

    https://example.com%20--disable-features=printcompositorlpac%20--disable-gpu/

How often did you encounter it so far?

Every time

Expected behavior

The flags must be added before the "--single-argument" argument (if present).

Affected program

Chromium-based applications

Download link

Not relevant

Where is the program located?

Not relevant to my request.

Did the program or any related process close unexpectedly?

No, not at all.

Crash dump

No response

What version of Sandboxie are you running now?

Sandboxie-Plus 1.14.2 64-bit

Is it a new installation of Sandboxie?

I recently did a new clean installation.

Is it a regression from previous versions?

No response

In which sandbox type you have this problem?

Not relevant to my request.

Can you reproduce this problem on a new empty sandbox?

Not relevant to my request.

What is your Windows edition and version?

Windows 10 Pro 22H2 64-bit (19045.4529)

In which Windows account you have this problem?

A Microsoft account (Administrator)., An account with UAC protection set to Always notify.

Please mention any installed security software

Microsoft Windows Defender

Did you previously enable some security policy settings outside Sandboxie?

No response

Trace log

No response

Sandboxie.ini configuration

CustomChromiumFlags=--disable-features=PrintCompositorLPAC --disable-gpu