At the moment we don't actually validate links when they are created, which can cause issues down the line. We should do three things:
- Create a
validate_link helper function which can be used to check that a link works properly
- Call this validation in the link editor and refuse to add an invalid link
- Check links when loading sessions and drop (with warnings) invalid links, because old session files might include invalid links due to the lack of checks in the past
At the moment we don't actually validate links when they are created, which can cause issues down the line. We should do three things:
validate_linkhelper function which can be used to check that a link works properly