xdg-open should look at targets of symbolic links
If I have a symbolic link
foo, pointing to
xdg-open will open
foo as a zip file based on falling back to 'magic' detection of mime type. I think preferred behavior would be it would, failing to get a file extension of the symlink itself, recognize it as a symlink and look at the file extension of the target.