Skip to content

Fix click-to-open on Windows - #5431

Merged
gaearon merged 2 commits into
masterfrom
gaearon-patch-2
Oct 14, 2018
Merged

Fix click-to-open on Windows#5431
gaearon merged 2 commits into
masterfrom
gaearon-patch-2

Conversation

@gaearon

Copy link
Copy Markdown
Contributor

It looks like #4866 broke it for all releases. Windows paths start with something like C: but the regex doesn't allow : so no path actually passes the check.

Since enabling : everywhere is likely not safe, I specifically enable ([a-ZA-Z]:[/\\])? at a first position instead.

@gaearon
gaearon merged commit bd0ffb7 into masterOct 14, 2018
@gaearon
gaearon deleted the gaearon-patch-2 branch October 21, 2018 20:00
@locklockBot locked and limited conversation to collaborators Jan 18, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@gaearon@facebook-github-bot