You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Great project here first of all very useful!
Second of all, there is a bug that I found where if the file name is a "/" it messes up renaming the file since it doesn't consider it a file name, rather as a path, so when i rename, I get my Documents directory nested in subfolders inside other subfolders with the renamed filename. I think there should be a protection against this.
This happened since I allow my users to download any html page they are on, and if you are getting the file name from the last path component of the URL it usually would see the last path component as a "/". I suggest also an improvement, if you get the response of the URL, I think you can access a property of response.suggestedFilename might be better
The text was updated successfully, but these errors were encountered:
Totally agree with @serjooo , hope to see this update soon.
The document mentioned we cannot access the downloaded file name, but didn't mention the reason why?
I hope the author would add this function to the project.
Thank you!
Hello! Great project here first of all very useful!
Second of all, there is a bug that I found where if the file name is a "/" it messes up renaming the file since it doesn't consider it a file name, rather as a path, so when i rename, I get my Documents directory nested in subfolders inside other subfolders with the renamed filename. I think there should be a protection against this.
This happened since I allow my users to download any html page they are on, and if you are getting the file name from the last path component of the URL it usually would see the last path component as a "/". I suggest also an improvement, if you get the response of the URL, I think you can access a property of response.suggestedFilename might be better
The text was updated successfully, but these errors were encountered: