FreeBSD Bugzilla – Attachment 91709 Details for
Bug 129144
www/en/multimedia/multimedia.pl - fix SGML markup constraints
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.11 KB, created by
edwin
on 2008-11-24 19:50:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
edwin
Created:
2008-11-24 19:50:04 UTC
Size:
1.11 KB
patch
obsolete
>Index: multimedia.pl >=================================================================== >RCS file: /home/dcvs/www/en/multimedia/multimedia.pl,v >retrieving revision 1.3 >diff -u -r1.3 multimedia.pl >--- multimedia.pl 12 Jun 2008 19:02:27 -0000 1.3 >+++ multimedia.pl 24 Nov 2008 19:39:32 -0000 >@@ -262,10 +262,10 @@ > > print $fhandle "<li><p>"; > if (defined $item{overview}) { >- print $fhandle "<a href=\"$item{overview}\">$item{title}</a>\n"; >+ print $fhandle "<a href=\"", htmlentities($item{overview}), "\">$item{title}</a>\n"; > } else { > my %media = %{$item{files}{0}}; >- print $fhandle "<a href=\"$media{url}\">$item{title}</a>\n"; >+ print $fhandle "<a href=\"", htmlentities($media{url}), "\">$item{title}</a>\n"; > if (defined $media{size} || defined $media{length}) { > my $s = ""; > print $fhandle "("; >@@ -280,7 +280,7 @@ > print $fhandle ")"; > } > } >- print $fhandle "<br>Source: <a href=\"", $source{url}, "\">", >+ print $fhandle "<br>Source: <a href=\"", htmlentities($source{url}), "\">", > $source{name}, "</a><br>\n"; > print $fhandle "Added: ", > substr($item{added}, 6, 2), " ",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 129144
: 91709