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 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.
Comment #7
bluegeek9 commentedUnfortunately, Drupal 7 is End of Life and no longer supported. We strongly encourage you to upgrade to a supported version of Drupal.