When copy/pasting a link to a file in a Redactor richtext the pasted link gains the full Manager URL, ie: /files/myfile.pdf becomes https://mysite.com/manager/files/myfile.pdf. This has been confirmed in Chrome and Firefox, however, it doesn’t happen in Safari.
I have seen the manager url getting added to resource links ([[~123]]) because the browser doesn’t understand that will get parsed to a regular link and then it decides to randomly put the manager URL in front of it, but for absolute file links (starting with a /) I don’t think I’ve seen it do it.
Also I’ve not seen it add the entire URL like that either - usually it’s just the manager path. So that’s interesting.
If you can drop an email to firstname.lastname@example.org (the MODX forum does not count as a support resource for our premium extras) I’ll see if we can get that fixed.
From what I recall looking at this before, it is the browser adding it and we can’t avoid it getting added when pasting, but we may be able to filter it out before it gets saved. That is, if we can somehow distinguish between this issue and someone actually trying to link to the manager…