File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ sub journal_url {
41
41
croak ' need a DW::External::User'
42
42
unless $u && ref $u eq ' DW::External::User' ;
43
43
44
- return ' http ://' . $self -> {hostname } . ' /user/ ' . $u -> user;
44
+ return sprintf ( " https ://%s /@ %s " , $self -> {hostname }, $u -> user ) ;
45
45
}
46
46
47
47
# argument: DW::External::User
@@ -51,7 +51,7 @@ sub profile_url {
51
51
croak ' need a DW::External::User'
52
52
unless $u && ref $u eq ' DW::External::User' ;
53
53
54
- return ' http ://' . $self -> {hostname } . ' /user/ ' . $u -> user . " /about " ;
54
+ return sprintf ( " https ://%s /@ %s /about " , $self -> {hostname }, $u -> user ) ;
55
55
}
56
56
57
57
# argument: DW::External::User
@@ -63,7 +63,7 @@ sub badge_image {
63
63
64
64
# for lack of anything better, let's use the favicon
65
65
return {
66
- url => " http ://youtube.com/favicon.ico" ,
66
+ url => " https ://youtube.com/favicon.ico" ,
67
67
width => 16,
68
68
height => 16,
69
69
};
You can’t perform that action at this time.
0 commit comments