Package: ikiwiki
Version: 2.53
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hiya,

if you add a file with utf-8 characters in its name, the resulting <a href...
links in the rendered pages have illegal characters in the name.

for example, say you add a blog post in a file named posts/ölmannen.mdwn.  the
resulting link in any inline page is

        <a href="posts/ölmannen/">&#xF6;lmannen</a>

when afaict it should be:

        <a href="posts/%c3%b6lmannen/">&#xF6;lmannen</a>

(%c3%b6 is utf8 for "ö") or maybe even

        <a href="posts/%c3%b6lmannen/">ölmannen</a>

since "ö" is a valid alphanumeric character.

i've spent a bit poking around in the code but couldn't seem to find
where this is coming from, since hrefs are specified in the templates,
in functions like urlto(), and directly in some of the plugin code.
point me in the right direction and i might try to investigate further :)

  sean

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ikiwiki depends on:
ii  libhtml-parser-perl        3.56-1+b1     A collection of modules that parse
ii  libhtml-scrubber-perl      0.08-4        Perl extension for scrubbing/sanit
ii  libhtml-template-perl      2.9-1         HTML::Template : A module for usin
ii  liburi-perl                1.35.dfsg.1-1 Manipulates and accesses URI strin
ii  markdown                   1.0.1-7       Text-to-HTML conversion tool
ii  perl                       5.10.0-11     Larry Wall's Practical Extraction 

Versions of packages ikiwiki recommends:
ii  gcc [c-compiler]            4:4.3.1-2    The GNU C compiler
ii  gcc-3.4 [c-compiler]        3.4.6-8      The GNU C compiler
ii  gcc-4.1 [c-compiler]        4.1.2-23     The GNU C compiler
ii  gcc-4.2 [c-compiler]        4.2.4-3      The GNU C compiler
ii  gcc-4.3 [c-compiler]        4.3.1-6      The GNU C compiler
ii  git-core                    1:1.5.6.2-1  fast, scalable, distributed revisi
ii  libauthen-passphrase-perl   0.005-3      Perl module encapsulating hashed p
ii  libc6-dev [libc-dev]        2.7-12       GNU C Library: Development Librari
ii  libcgi-formbuilder-perl     3.05.01-6    Easily generate and process statef
ii  libcgi-session-perl         4.33-1       Persistent session data in CGI app
ii  liblwpx-paranoidagent-perl  1.03-1.1     a "paranoid" subclass of LWP::User
ii  libmail-sendmail-perl       0.79-5       Send email from a perl script
ii  libnet-openid-consumer-perl 0.14-2       library for consumers of OpenID id
ii  libtimedate-perl            1.1600-9     Time and date functions for Perl
ii  libxml-simple-perl          2.18-1       Perl module for reading and writin
ii  subversion                  1.5.0dfsg1-4 Advanced version control system

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFIhR/NynjLPm522B0RArQrAJ9DhKDpeFIjkTVKmOOV9JIZqrd4XwCfXr87
ne/8PBBaPASfD7EDfpWScBg=
=7YH3
-----END PGP SIGNATURE-----



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to