my site provides an automatic translation feature,based on google ajax
api service.

i found a bug when got request like :

http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=%3E%3CIMG%20src=%22http://www.jkc360.com/Upload/20090912131847991&langpair=zh-CN|en

or

http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=><IMG
src="http://www.jkc360.com/Upload/20090912131847991&langpair=zh-CN|en


google gives result:
{"responseData": {"translatedText":"\u003chtml\u003e \u0026quot;"},
"responseDetails": null, "responseStatus": 200}


see,it's a bug.
my program automatically split the text and submit sections(no more
than 180 characters )  to google translation service.when the section
includes html code,my program got wrong translate result.

--

You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" 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/google-ajax-search-api?hl=en.


Reply via email to