|
From: Alasdair D. <ala...@gm...> - 2025-09-29 01:57:20
|
Hi All, Recently, I have had eXist eXide do some strange things on saving. This was on versions 6.2 and now 6.4 I have my website under https://www.foodiesite.com, my eXist Dashboard access through https://admin.foodiesite.com and all works well, until now. For years I have had relative resource references in app-foodiesite.xqm module file, In it, I have a few calculated resource locations. For example: <div class="text-center"> <a href="/articles/{data($article/dockey)}" class="btn btn-primary w-75">Click for Article</a> </div> The issue is on saving and closing the file, it expand the href to: <div class="text-center"> <a href="*https://admin.foodiesite.com <https://admin.foodiesite.com>*/articles/{data($article/dockey)}" class="btn btn-primary w-75">Click for Article</a> </div> This is not correct as the nginx mapping for admin is just that admin dashboard only. I can work around this by setting the full href path, i.e.; ... href="https://www.foodiesite.com/articles/{data($article/dockey)}" Has anybody else had such fun and games, or am I the lucky 'outlier' of the group? Alasdair DougalI |