Hi SteepDeer88 , I think this is the second case. Each artifact URL is simply saved as a string in the DB.
I think you can write a very short migration script to rectify this directly on MongoDB OR manipulate it via the API using tasks.edit
endpoint
SteepDeer88 I think CostlyOstrich36 is correct. There were several posts here (and on GitHub issues) on this matter