dotvvm icon indicating copy to clipboard operation
dotvvm copied to clipboard

Move all dotvvm internal routes to the `/_dotvvm/` prefix

Open exyi opened this issue 3 years ago • 1 comments

Currently, we internally use a lot of different endpoints (dotvvmResource, something for file upload, returned files, ...). The new things, like configuration page are under /_dotvvm prefix, so it would make sense to move everything else into that directory too.

This will make it easier to whitelist all dotvvm requests, avoid conflicts on websites with a /{username} route (like github, twitter does), and feel less adhoc in general.

It's breaking, there are definitely people hardcoding dotvvmResource somewhere, but I don't think it's common

exyi avatar Dec 27 '22 17:12 exyi

Actually, .dotvvm could be a better choice, in the style of .well-known. Underscore tends to be valid characters in names more often than the dot.

exyi avatar Jan 03 '23 18:01 exyi