Page MenuHomePhabricator

Add "file://" to the global default for uri.allowed-editor-protocols
Closed, WontfixPublic

Description

I am a Linux user. For some reason I could not get the editor:// protocol to work correctly with xdg-open. However, file:// works just fine.

Event Timeline

lots0logs raised the priority of this task from to Needs Triage.
lots0logs updated the task description. (Show Details)
lots0logs added a project: Phabricator.
lots0logs added a subscriber: lots0logs.
epriestley claimed this task.

This is configurable, and file:// is an unusual protocol to use as an editor.

Obviously its configurable. The message on the config page said to let you know if there was a protocol that should be considered for inclusion by default.

This is configurable, and file:// is an unusual protocol to use as an editor.

Are you familiar with Linux? The protocol is not unusual, it's actually very common. It does not directly refer to an editor. Chrome passes the url to a program called "xdg-open" which proceeds to open it using your systems default application for that file type.

On OSX, this protocol is blocked by the browser in Safari, Chrome and Firefox in an almost-silent way. At least in Chrome, this is explicitly a security/policy issue. We have far more OSX users than desktop Linux users, and I don't want to include file:// in the default set because it looks easy but will fail non-obviously for most users.