In BigSur Beta, when I try to open a file using
open file:////Users/<username>/Desktop/<filename.txt>
the command is internally converted by prefixing the current working directory in terminal to the given value. For eg., if the current directory is "/Users", the command is converted into
open /Users/file:////Users/<username>/Desktop/<filename.txt>
This obviously gives an error unable to find the file. This happens even if I give a folder name instead of filename in file URI format.
http scheme works fine and no prepending happens. For eg., open http://<url> redirects to safari cleanly
Note: I understand from the man page, that whenever we give a non-absolute file/folder names to open command, it prepends the current directory to the given value. However this prepending should not happen in case the value starts with a file URI scheme (similar to how values starting with http is handled). This is working fine till Catalina and is present only in BigSur betas. Can someone confirm this behaviour.
Selecting any option will automatically load the page