Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163495646
D8462.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
807 B
Referenced Files
None
Subscribers
None
D8462.diff
View Options
Index: ports-mgmt/portlint/src/portlint.pl
===================================================================
--- ports-mgmt/portlint/src/portlint.pl
+++ ports-mgmt/portlint/src/portlint.pl
@@ -491,14 +491,14 @@
"other local characters. files should be in ".
"plain 7-bit ASCII");
}
- if ($file =~ /\bpkg-descr/ && $tmp =~ m,http://,) {
+ if ($file =~ /\bpkg-descr/ && $tmp =~ m,https?://,) {
my $has_url = 0;
my $has_www = 0;
my $cpan_url = 0;
my $has_endslash = 0;
- foreach my $line (grep($_ =~ "http://", split(/\n+/, $tmp))) {
+ foreach my $line (grep($_ =~ "https?://", split(/\n+/, $tmp))) {
$has_url = 1;
- if ($line =~ m,WWW:[ \t]+http://,) {
+ if ($line =~ m,WWW:[ \t]+https?://,) {
$has_www = 1;
if ($line =~ m,search.cpan.org,) {
$cpan_url = 1;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 24, 7:29 PM (6 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35451272
Default Alt Text
D8462.diff (807 B)
Attached To
Mode
D8462: portlint: handle https: urls in pkg-descr properly
Attached
Detach File
Event Timeline
Log In to Comment