One implementation detail I wanted to record here... For URL validation, we're simply checking that it's a valid http/https url. The user can enter any URL, even if it's technically not an EWS or Exchange endpoint. The rationale behind this is that, for Exchange endpoints, we don't know what custom URL they may be using. While they generally follow the `/EWS/Exchange.asmx` format, that's not a strict requirement, and therefore the user can have any endpoint be technically valid. Note that this is different from the detection logic on whether we'll recommend Graph vs Exchange on the subsequent 'Type' screen. That will be handled in https://bugzilla.mozilla.org/show_bug.cgi?id=2014788
Bug 2014788 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
[Comment removed as I added it to the wrong bug...]