-
Notifications
You must be signed in to change notification settings - Fork 94
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
file upload disable fakepath #46
Comments
This is a built-in security feature, i don't think it's good to remove it. See file uploads for node.js: https://codeforgeek.com/2014/11/file-uploads-using-node-js/ |
nodejs is nice for uploading file, what i need is the file's fullpath, webshell send the full path to nodejs, and nodejs setup a server of the path. |
What are you trying to do. And it still has no effect on the uploading process. See also my example if you use input field "name" instead of input field "value" you don't get c:\fakepath Otherwise make a snippet or something to show what you're trying. Uploading works fine, local and external. |
what i want like this |
@djyde what do you think. If we need this then we need to trigger a event (event.result) after selecting the file, and make some more changes. Please note, the c:\fakepath\ was introduced for security and now you can see the file system tree (where the file is)
|
I think WebShell is a browser, not a runtime. This problem should not be solve by WebShell. |
we have no plans to support this. if you think it must be added to WebShell, and you can code yourself then the best solution is to create a pull request. at least, for now, i close this issue because it has no addition for now. |
will be possible disable fakepath when upload file? current webkit implement [html5's fakepath](HTML5's fakepath) because of security, but native app should handle it with nodejs or others, so disable this feature will be nice when develop native app.
The text was updated successfully, but these errors were encountered: