Improvement: change behavior for symlinks to serve up redirects #7
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: bss/incorporeal-cms#7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current behavior: symlinks work how they would at a naive filesystem level, the link is followed and the file rendered, appearing at the requested URL path.
Desired behavior: symlinks yield HTTP redirects.
I always think this is what symlinks do in the engine, and then am surprised when it isn't, but either way I can't think of anything in particular that ties me to the current behavior. I believe with the recent rewrite of the URL path/file path converter, it should be relatively easy to figure out what path to redirect to, but I'm not sure.
This isn't a huge problem but I think it would be possible to eventually deprecate some symlinks, once they've been (permanent) redirecting for e.g. years?