You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to generate external URL for my ICS subscription, in this case I need to use some custom protocol: webcal://, but when I'm trying to use it, it is falling back to http which is really annoying, because it not allow to use any other protocol, only "http" or "https" which I think, is not really correct
I see the issue, according to the code, it is assigning "https" to the variable if that variable is "https", why?:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I need to generate external URL for my ICS subscription, in this case I need to use some custom protocol:
webcal://
, but when I'm trying to use it, it is falling back tohttp
which is really annoying, because it not allow to use any other protocol, only "http" or "https" which I think, is not really correctI see the issue, according to the code, it is assigning "https" to the variable if that variable is "https", why?:
https://github.com/pallets/werkzeug/blob/main/src/werkzeug/routing/map.py#L935-L941

It looks like everything will work the same if we will just remove that assignment, and it will just allow to use custom scheme
Beta Was this translation helpful? Give feedback.
All reactions