CodeIgniter Forums
Error while input google maps embedded code - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Error while input google maps embedded code (/showthread.php?tid=67778)



Error while input google maps embedded code - janudewangga - 04-08-2017

Hello everyone.
I'm using codeigniter 3.1.4, and use the form helper to generate input form.
I use form_textarea() function to generate textarea. When I copy google map embedded code in the textarea, and submit the form, I get the following error at google chrome :

Quote:Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers, and credit cards). ERR_BLOCKED_BY_XSS_AUDITOR

And the data I submitted to controller cannot be proceed. How to fix this?


RE: Error while input google maps embedded code - PaulD - 04-08-2017

It may be that your google credentials are for your website and your localhost is trying to access them, hence the xss problem.

Putting a map inside a textarea I doubt is going to work either. This does seem a rather strange thing to do.


RE: Error while input google maps embedded code - janudewangga - 04-08-2017

(04-08-2017, 04:17 AM)PaulD Wrote: It may be that your google credentials are for your website and your localhost is trying to access them, hence the xss problem.

Putting a map inside a textarea I doubt is going to work either. This does seem a rather strange thing to do.

But I do the same in codeigniter 3.1.3 and it just working like a charm...


RE: Error while input google maps embedded code - PaulD - 04-08-2017

My apologies.

There was some stuff about chrome having exactly this bug in it. I thought it had been fixed but perhaps it is only fixed in the dev version.

Sorry I couldn't be of any real help. Hope someone else here has an idea for you.

Best wishes,

Paul.