There is room in the logic in lib-net.go/web_router() function for adding rewrite rules for either link (href) path rewriting or more general body text rewrites under the "w" rule case.
It hasn't been needed yet, but probably would be a fairly minor change to add this capability. It would certainly be possible for this to be a massive overhead in page serving durations.
Would mainly be for correcting certain URI forms that may come back as part of a response body of a page that lives on an alternate host/path or to scrub/amend links.
Leaving this ticket open until we decide if this is worth doing. It's probably overkill for the intended purposes of the inbuilt web serving.
This is an outstanding @todo.
There is room in the logic in lib-net.go/web_router() function for adding rewrite rules for either link (href) path rewriting or more general body text rewrites under the "w" rule case.
It hasn't been needed yet, but probably would be a fairly minor change to add this capability. It would certainly be possible for this to be a massive overhead in page serving durations.
Would mainly be for correcting certain URI forms that may come back as part of a response body of a page that lives on an alternate host/path or to scrub/amend links.
Leaving this ticket open until we decide if this is worth doing. It's probably overkill for the intended purposes of the inbuilt web serving.