[dw-free] recognize https:// as valid feeds
[commit: http://hg.dwscoalition.org/dw-free/rev/d8db00a2d3a2]
http://bugs.dwscoalition.org/show_bug.cgi?id=3721
Recognize https as well as http for feeds.
Patch by
yvi.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3721
Recognize https as well as http for feeds.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/feeds/index.bml
-------------------------------------------------------------------------------- diff -r 7613d9e765db -r d8db00a2d3a2 htdocs/feeds/index.bml --- a/htdocs/feeds/index.bml Tue Aug 02 18:37:34 2011 +0800 +++ b/htdocs/feeds/index.bml Tue Aug 02 18:45:47 2011 +0800 @@ -45,7 +45,7 @@ } if ($url ne "") { return $error->($ML{'.invalid.url'}) - unless $url =~ m!^http://([^:/]+)(?::(\d+))?!; + unless $url =~ m!^https?://([^:/]+)(?::(\d+))?!; my $hostname = $1; my $port = $2; return $error->($ML{'.invalid.cantadd'}) --------------------------------------------------------------------------------
no subject
no subject