OK following a bit more investigation I think this is a bug in
core.php?
The current BASE_URL is self referencing which seems to lead to the
urls being malformed as new links are appended onto the existing script
name.
I managed to resolve this problem by patching app/config/core.php with
the following line.
//define ('BASE_URL', env('SCRIPT_NAME')); //changes to
define ('BASE_URL', 'http://'.env('HTTP_HOST').'/index.php');
For me this also fixes scaffolded links that were also being generated
incorrectly, on my implementations where mod-rewrite is disabled.
This may relate to https://trac.cakephp.org/ticket/812 so not sure if a
new ticket is required?
cheers, Clive
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---