mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
- Add a patch to fix UTF-8 strings escaping.
PR: ports/89750 Submitted by: maintainer
This commit is contained in:
parent
9a86cabcea
commit
42e4402b0d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150020
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= HTML-Mason
|
||||
PORTVERSION= 1.31.0.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= HTML
|
||||
|
@ -1,2 +1,3 @@
|
||||
MD5 (HTML-Mason-1.3101.tar.gz) = 4904681296efeb9c58bf0d9926d37407
|
||||
SHA256 (HTML-Mason-1.3101.tar.gz) = 0837a43aa08f783b15d61f8068655564172588ceb9183608316291d258c104c7
|
||||
SIZE (HTML-Mason-1.3101.tar.gz) = 386074
|
||||
|
10
www/p5-HTML-Mason/files/patch-Escapes.pm
Normal file
10
www/p5-HTML-Mason/files/patch-Escapes.pm
Normal file
@ -0,0 +1,10 @@
|
||||
--- lib/HTML/Mason/Escapes.pm.orig Tue Aug 23 19:18:12 2005
|
||||
+++ lib/HTML/Mason/Escapes.pm Wed Nov 30 12:10:55 2005
|
||||
@@ -37,6 +37,7 @@
|
||||
{
|
||||
return unless defined ${ $_[0] };
|
||||
|
||||
+ use bytes;
|
||||
${ $_[0] } =~ s/([^a-zA-Z0-9_.-])/uc sprintf("%%%02x",ord($1))/eg;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user