Hey Brendan,
That seems to have fixed the adding of the .cfm to the end of the url...
Now I think there is a bug somewhere else... it is not loading the object,
it is bouncing back to the home page...

Oh well,
That one can wait till the morning...
L.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brendan
Sisson
Sent: 29 March 2004 12:05 AM
To: FarCry Developers
Subject: [farcry-dev] Re: Friendly and Unfriendly URLs...

Lucas Sherwood wrote:

> So anyway, it looks like there is a bug in the fu.cfc
> 
> Line 227 should read
> 
> fullUFU = "/go/objectid/" & arguments.objectid & 
> application.config.fusettings.suffix;


Yeah it's a bug...try the code below:

// check if search engine safe urls are configured
if (isdefined("application.config.fusettings.sesurls") and 
application.config.fusettings.sesurls) {
        // return ses url
        fullUFU = "/go/objectid/" & arguments.objectid;
        // if not root of webserver add additional url parameters
        if (application.url.webroot neq "")
                fullUFU = fullUFU & "?indexfile=" & application.url.webroot
& 
"/index.cfm";
        else
                fullUFU = fullUFU & application.config.fusettings.suffix;
}

-Brendan
http://farcry.daemon.com.au

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to