Skip to content

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 :

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

Edited by Cloud68 Support team