Templation of subscriptions request ignores subpaths
Initially came across this for https://support.cloud68.co/#ticket/zoom/7646 + https://mattermost.coko.foundation/coko/pl/shpyr9eoibyyfdu7xpw61detbr, but I believe it doesn't involve only Ketida.
The way the url for subscriptions gets templated at https://gitlab.coko.foundation/cokoapps/client/-/blob/master/src/helpers/Root.js#L101, it completely ignores cases where server_url contains a subpath (for example /server/
). The requests in the example should be sent to /server/subscriptions
, not /subscriptions
.
The ideal fix in our opinion is for the requests to be templated from server_url. More info in discussions at :
- https://mattermost.coko.foundation/coko/pl/isge89umkbfz9x5b3rug5kr4rw
- https://mattermost.coko.foundation/coko/pl/h898eff3zty88fg8b3uoe3qtbh and below
Note: To make sure we're notified when our feedback is needed, please add @cloud68_support so that we get notified through our support system. We usually can't monitor comments that don't @ this account.
Boris