When creating share links with NextCloud 13.0.2 - by default - the link looks like this:
/preview can be added to the end of the url to make the file display in a basic form. Just the file, no extra elements.
However, is there a way to change the share link behavior so that by default it links directly to the file with the file extension? For sharing pictures via url online, this makes the url appear to be more trustworthy and gives an impression of what the url will link to before it is clicked. Also, some services parse the url, determine what it links to, and create previews. Some of these services expect a file extension in the url.
Also, is there a way to use a concatenated version of the file name as the share link identifier?
This seems like the most optimal way to handle share link urls for my application.