Skip to main content
Participating Frequently
October 7, 2007
Answered

Tags Changing?

  • October 7, 2007
  • 2 replies
  • 467 views
I have a Coldfusion website that is pulling all content from a MS Access Database. I have a backend administration site to allow website admins to go in and post new/updated code and submit it back to the database. The admin puts the new code in a text area box and clicks submit. The problem is that some tags such as "Script, Object, or Embed" are all changed to "InvalidTag" when submitted to the database. So <script></script> turns into <InvalidTag></script>

I have this site running on my Coldfusion server with no issues, but now that I have transfered it to a new host it wont work. Of course they say it my code and I say it's theirs. To me its seems like a security feature on the server side preventing certain tags from being posted. Any ideas? Thanks for any light you can shed on this!!
This topic has been closed for replies.
Correct answer Newsgroup_User
Kapman78 wrote:
> So <script></script> turns into <InvalidTag></script>
>
> I have this site running on my Coldfusion server with no issues, but now that
> I have transfered it to a new host it wont work.

Your new host probably has Global Script Protect enabled. Ask them to
disable it for you.

Jochem


--
Jochem van Dieten
Adobe Community Expert for ColdFusion

2 replies

Kapman78Author
Participating Frequently
October 7, 2007
Think I found the answer if anyone is interested. Here is what I wrote my hosting company:

I have done some research and have discovered the resolution here http://www.coldfusionjedi.com/index.cfm/2007/1/5/Where-the-heck-is-InvalidTag-coming-from

"Either your ColdFusion Admin has Enable Global Script Protection turned on or your Application has scriptProtect set to true. This would be set in either the CFAPPLICATION tag or the This scope of your Application.cfc file."

I do not have scriptProtect set to "true" in my cfapplication tag.

Can you resolve this issue? Let me know, thanks
Newsgroup_UserCorrect answer
Inspiring
October 7, 2007
Kapman78 wrote:
> So <script></script> turns into <InvalidTag></script>
>
> I have this site running on my Coldfusion server with no issues, but now that
> I have transfered it to a new host it wont work.

Your new host probably has Global Script Protect enabled. Ask them to
disable it for you.

Jochem


--
Jochem van Dieten
Adobe Community Expert for ColdFusion
Kapman78Author
Participating Frequently
October 8, 2007
You got it! but they wont do it, so I may have to change hosting companies. Thanks!