Do not accept links in editor that only work due to acquisition
Bug #101133 reported by
Martijn Faassen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva |
Fix Released
|
Wishlist
|
Jan-Wijbrand Kolman |
Bug Description
When a user enters a relative link in an editor (kupu or forms based), links
that only work due to acquisition shouldn't be accepted.
This could be done by finding the object they would refer to thanks to
acquisition, and constructing a relative (or absolute) path to them instead,
storing *that* in the XML.
This allows us to stop worrying about this issue when rendering a document with
a public URL in it.
Some complexities involving ghosts and virtual hostings probably still exist though.
We also need a conversion script which fixes all acquisition based links that
may be in the XML.
Changed in silva: | |
importance: | Medium → Wishlist |
To post a comment you must log in.
Ideally we solve this for 1.1 and provide an upgrade script. I can see that due
to lack of time this needs to be moved to 1.2 though.