Mail Index


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ApacheGallery] Fw: modules/gallery/lib/Apache (Gallery.pm): Provide our own, perhaps not broken, version of uri_escape



WRT the high-bit characters.

Here's what I've found when comparing to Gallery.pm v1.72:

1.72 generates this html for the picture with the accented characters:
    <a href="/2002_02_14 Nicole TC goodbye party/Nicole et  Hélène.jpg"><img
alt="Nicole et  Hélène.jpg - "
src="/2002_02_14%20Nicole%20TC%20goodbye%20party/.cache/100x75%2DNicole%20et
%20%20H%E9l%E8ne.jpg"></a>

What works great with that, is that the image thumbnail actually appears.
However, when clicking on the actual link (a href="/2002_02_14 Nicole TC
goodbye party/Nicole et  Hélène.jpg) I of course get a 404 because the
characters are not escaped. So even 1.72 was not perfect.

1.73, however, generates the following html:
    <a href="/2002_02_14 Nicole TC goodbye party/Nicole et  Hélène.jpg"><img
alt="Nicole et  Hélène.jpg - " src="/2002_02_14 Nicole TC goodbye
party/.cache/100x75-Nicole et  Hélène.jpg"></a>
Notice that now none of it is escapes, and as such not only does the link
404 but also the thumbnail has a broken image.

Hope this is all clear... willing to help but this is in an area where I
have a deep skill gap unfortunately. :-(

Paul

----- Original Message -----
From: "Michael Legart - Tiscali A/S" <mlegart@xxxxxxxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Wednesday, March 13, 2002 1:12 PM
Subject: Re: [ApacheGallery] Fw: modules/gallery/lib/Apache (Gallery.pm):
Provide our own, perhaps not broken, version of uri_escape


Hi guys,

On Wed, Mar 13, 2002 at 01:06:00PM -0500, Paul Vallee wrote:
>
> But note that this tar doesn't include my most recent adminsite patch.

Correct, but it now contains the latest CVS version.

> Note that there are currently unsolved problems with the uri_escape
> functionality and special characters.

I'm trying to find time to look at that. It looks like it doesn't
catch high bit characters?

--
Med venlig hilsen / Kind regards
  Michael Legart, System Developer - Tiscali A/S
  Peter Bangs Vej 26, DK-2000 Frederiksberg - http://www.tiscali.dk
  Phone +45 3814 7000, Fax +45 3814 7007

---------------------------------------------------------------------
Apache::Gallery users mailinglist. http://apachegallery.dk/
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx





---------------------------------------------------------------------
Apache::Gallery users mailinglist. http://apachegallery.dk/
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx