matrix: check scheme in Server before use it to replace mxc#139
matrix: check scheme in Server before use it to replace mxc#139mohan43u wants to merge 1 commit intomatterbridge-org:masterfrom
Conversation
make sure we include default https:// scheme if the "Server" configuration variable don't contain a scheme during replacing mxc:// to download media content
|
Hello, i'm curious what your configuration is since other people use the matrix bridge and have not reported this problem. Is it possible that you're using What do you think? |
Yes, I was using
I don't know what is the correct way of specifying Server, Enforcing proper URL or just specifying domain is upto the maintainers. |
I think it's more correct to always specify the scheme. Because localhost tests are probably To be fair, matrix runs over HTTP and in the web world, Other opinions welcome :) |
|
Well, either we make it very clear in the examples and documentation that the scheme is required, or a fallback like this is nice to add. For Matrix there are probably no edge cases where https:// would not be the case. |
make sure we include default https:// scheme if the "Server" configuration variable don't contain a scheme during replacing mxc:// to download media content