The regex is replacing any characters that are not a-z, 0-9 or "/".
What does your tree look like?  Do you have any odd characters in
them?

Sean

On Apr 30, 5:24 am, Gavin Stewart <[email protected]> wrote:
> Hello team farcry,
>
> I am getting an error when approving a html object. I have tracked it
> down to friendly url generation. Farcry is producing wild friendly
> urls for example
>
> /-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------/
> subject-hubs/subjects/art-and-design/art-and-design-study-options/
> undergraduate--------------------------------------------------/
> undergraduate
>
> Crazy!
>
> This string is too big for the database field which is causing the
> error. After debugging I have tracked it down to the cleanFu method in
> farFU.cfc.
>
> The line of code that is blowing it out of proportion is this
> <cfset cleanFU = ReReplaceNoCase(cleanFU,"[^a-z0-9/]","-","all")>
>
> This is a pretty random regex and have no idea what it is trying to
> do. The friendly url is fine before it hits this line of code.
>
> Am I missing something?
>
> Just thought I would ask before I report it as a bug
>
> Cheers
> Gav
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---

Reply via email to