Turning on no_script_name property in settings.yml to be able to
remove the script name(index.php) works fine except for one of the
application urls. The problem url is double urlencoded to avoid the
ampersands(&) in the request parameters to be interpreted as the
separator of request parameters.
Here is the rewrite rule we use for lighttpd:
url.rewrite-once = (
"^/(.*\..+(?!html))$" => "$0",
"^/(.*)\.(.*)" => "$0",
"^/([^.]+)$" => "/app/index.php/$1",
"^/$" => "/app/index.php"
)
The problem url looks like: ...query/type%253ANon%2BSmoking
When no_script_name is off, the php script receives "type:Non..."
However, when it is on, the php script receives "type:%3ANon..." which
breaks the code.
Any help will be greatly appreciated.
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---