[ansel] urlencode() Problem

Chuck Hagenbuch chuck at horde.org
Sat Feb 7 18:06:21 PST 2004


Quoting Mike Bydalek <mbydalek at zivix.com>:

> Just updated Ansel since about a week ago, and had a problem with galleries 
> that had a space in their id.  Basically what was happening is that 
> urlencode() was putting ansel-images/Gallery+Name which for some reason wasn't 
> working.
>
> So what I did was in lib/Ansel.php, I replaced all instances of urlencode() 
> with rawurlencode() to get the %20, which fixed the problem.  I'm not sure if 
> it's something with my setup (not sure what could have changed), or some 
> other bug, which is why I am mentioning it here.

That change should be fine - I've committed it for now. Thanks.

-chuck

--
"Here, I brought some cole slaw. It's made from peeeooople! Just kidding."


More information about the ansel mailing list