Skip to content
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

[OSX] Don't resolve symbolic link with file chooser #3320

Closed
ghostoy opened this issue Mar 30, 2015 · 0 comments
Closed

[OSX] Don't resolve symbolic link with file chooser #3320

ghostoy opened this issue Mar 30, 2015 · 0 comments
Assignees

Comments

@ghostoy
Copy link
Member

ghostoy commented Mar 30, 2015

On other platforms Windows & Linux, symblic link is not resolved in file selector. But Mac OSX resolves symbolic links by default. That's an inconsistent behavior and should be fixed.

Test case

  1. Create a symlink test-sym to another file, for example test.txt, with mklink on Windows or ln -s on Linux and OSX
  2. Run this code
<input type="file" onchange="changeFile(this)">
<script>
function changeFile(fileInput) {
console.log(fileInput.value);
}
</script>
  1. Select test-sym file

Expected

Console should log the path pointing to test-sym, not the original file.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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

No branches or pull requests

2 participants