Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
So this is pretty silly, but Microsoft (Live) is presenting users with iCal URLs formed as "webcals://URL". That's right - webcals, because apparently they can't follow the crowd. Basically need to extend the support from #723548: Provide better URL validation and error reporting for invalid feed URLs
Comment | File | Size | Author |
---|---|---|---|
#6 | interdiff-4-6.txt | 824 bytes | mglaman |
#6 | support_webcals_scheme-2451111-6.patch | 2.5 KB | mglaman |
Comments
Comment #1
mglamanPatch! Now turns webcals:// to http://
Comment #2
twistor CreditAttribution: twistor commentedThis would need feeds_valid_url() to be updated.
Needs a simple test.
Are you sure that webcals isn't supposed to map to https?
Comment #3
mglamanYou're right: https://bugzilla.mozilla.org/show_bug.cgi?id=429061
I'll update patch.
Comment #4
mglamanUpdated patch and added webcals to protocol tests. Changing title, too.
Comment #6
mglamanI don't know if the testbot can access itself via HTTPS, so removing that bit from testOddFeedSchemes, since testFeedsValidURL covers webcals for validation.