Skip to content

Fix incorrect supportDirectory flag for Safari #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 26, 2015

Conversation

dshefchik
Copy link
Contributor

When we look for "WebKit" in the userAgent string, Safari passes even though it does not support directory uploads.

Since only Chrome supports directory upload right now, let's just test for Chrome instead.

This fixes #124

When we look for "WebKit" in the userAgent string, Safari passes even though it does not support directory uploads. 

Since only Chrome supports directory upload right now, let's just test for Chrome instead.
AidasK added a commit that referenced this pull request Sep 26, 2015
fix: incorrect supportDirectory flag for Safari
@AidasK AidasK merged commit 3b09288 into flowjs:master Sep 26, 2015
@AidasK
Copy link
Member

AidasK commented Sep 26, 2015

Thanks

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

Successfully merging this pull request may close these issues.

Safari doesn't support directory uploads, but flow.supportDirectory is set true
2 participants