Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

When opening Dropbox actions from the Windows context menu, the Usage dialog box is shown #20

Open
jhertel opened this issue Jan 17, 2021 · 1 comment

Comments

@jhertel
Copy link

jhertel commented Jan 17, 2021

When I choose "Version history" or "View on Dropbox.com" in the Windows Explorer context menu of a file in my Dropbox, I get the "Usage" dialog box.

The specific URL given to BrowserSelector.exe by the Dropbox context menu command is a simple file URL on the form file:///C:/Users/MyUserName/AppData/Local/Temp/dbfidti_h6j.html#f0387784fbe3c8c15a2532530f (I changed the cryptic codes, but the pattern is the same).

I have to turn BrowserSelector completely off as default browser due to this, effectively rendering the program useless. :-(

I guess it could be solved with changing the line

if (arg.StartsWith("http://", StringComparison.OrdinalIgnoreCase) || arg.StartsWith("https://", StringComparison.OrdinalIgnoreCase) || arg.StartsWith("ftp://", StringComparison.OrdinalIgnoreCase))

to

if (arg.StartsWith("http://", StringComparison.OrdinalIgnoreCase) || arg.StartsWith("https://", StringComparison.OrdinalIgnoreCase) || arg.StartsWith("ftp://", StringComparison.OrdinalIgnoreCase) || arg.StartsWith("file://", StringComparison.OrdinalIgnoreCase))

in the file Program.cs, but I'm unsure how that affects the detections or .url files etc. in the lines that follow.

@jhertel
Copy link
Author

jhertel commented Jan 17, 2021

Version is 0.3.0.0, by the way. Windows version is 10.0.18363.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant