No, it's not a bug, it's just something to keep in mind with any web
application that uses pretty urls made to look like a folder structure
(ie http://localhost/controller/action/params ).  The whole point is
to make the user, your browser, and Google think that these are an
actual folder structure (as people are used to the idea of
categorising with folders, not so much with underscores or hyphens).
So when you have a relative link, of course your browser assumes that
it is relative to this pseudo folder, not realising (or caring) that
by requesting http://localhost/controller/action/params/yourimage.jpg
it is going to execute your controller action again.

It's just one of those things you have to be careful of :)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to