[eluser]Leon Stafford[/eluser]
[quote author="TheFuzzy0ne" date="1239474135"]When you say "The adding slashes is something which is required for one of my views to work", what do you mean? Can you give an example? I just don't understand why this is necessary, or if it really is necessary, why the view can't be made aware of this.
Would it not be simpler to just make FreakAuth add the trailing slash? I know it's a bit hacky, but it saves a redirect and of course, messing around with the htaccess file. Don't quote me here, but I think FreakAuth stores the original target URI in the session, so can you not modify it that way?
In theory, htaccess would be the quickest option, but htaccess and I were never the best of friends, so I try to avoid it where possible. Hacking FAL yourself may feel wrong, but I would have thought it would be easier for you to understand what's going on, so that's my suggestion.[/quote]
Thanks again TheFuzzy0ne,
I just posted that I found my code around (aka hack around) with .htaccess . I know the ideal way would be to do it in the program at a lower level, but I was/am in a bit of a pinch and got the trailing slashes added quick with .htaccess so thought it may be able to solve all my problems %-P .
The problem with one of my views sounds like something which should be fixed and it really should and maybe will be, but I have a list of site changes to burn through tonight and I know it's going to suck a lot of my time if I even think about looking at it.
The culprit in question is a page which generates results from db and displays it inline via ajax-y stuff. I'd like to know why it doesn't work without the trailing slash, but besides that, the said page is working fine after a few days of dev. so really don't want to touch it if I don't have to....
I know, not the right way to go about things, but....