|
|||
|
Hi there,
I'm using the Front Controller and a self-written Remote Procedure Controller (RpcController) which accepts an url- and json-encoded string as param. f.e. JavaScripted escape(YAHOO.lang.JSON.stringify(myArray)) That works as long the myArray does not contain a new line, which I can't understand, because I'm using escape and JSON.stringify to encode and transport the message as GET parameter (OK maybe the solution is to send it with POST). With a new line, I'll get a 404 server error from apache, when I remove the sequence, it works. See this example: http://*.local/admin/rpc/json/class/...d%20line%22%5D If I remove everything behind (first) line, it works. Probably it's not an Controller, more an apache problem? Code:
php_flag magic_quotes_gpc off RewriteEngine On RewriteRule ^.*$ index.php What do you think? |
![]() |
| Thread Tools | |
| Display Modes | |
|
|