Greets Zend users...

Looking for someone to shed some light on this error I receive when
using an unusual URL.

Not that I want this url to perform any sort of task, rather I found
many requests similar to the one below in my server logs. (I suspect it
comes from google translate but not sure) I simply wish to make sure the
warnings do not appear on the page copy.

For example a url like this:
http://www.mysite.org/translate_c?hl=es&sl=en&u=http://www.mysite.org

will throw a warning in ZF:
Warning:parse_url(/translate_c?hl=es&sl=en&u=http://www.mysite.org/)
[function.parse-url]: Unable to parse URL
in /usr/share/php5/Zend/Controller/Request/Http.php on line 394


Obviously a malformed URL however, is there anything I can do to
suppress these warnings in my production release? Or is there something
I can do with mod_rewrite to redirect the request to an contextual error
page? 

Recommendations...?

Thanks in advance for any assistance. ~Shawn

---
using ZF 1.7.5 on Apache 2.2.9 

Reply via email to