error with iframe

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
1/3/2016 9:46:58 AM
Gravatar
Total Posts 2

error with iframe

I am running the following iframe and getting an error can anyone help?

<script src="https://app.repairdesk.co/widgets/include.js?token=5674b74984008-686-5674b7498401d&height=1200&width=1000&scrolling=yes"></script>

i have entered it in a a few online testing sites and it seems to work fine, however when i use it in my mojoportal i get the following message

We're sorry but a server error has occurred while trying to process your request.

I see the following in the log

015-12-18 20:53:52,444 ERROR 68.188.161.206 - en-US - /Admin/ModuleSettings.aspx?mid=78&pageid=62 - mojoPortal.Web.Global - 68.188.161.206 /<iframe src= Referrer(http://wirelessrepairzone.com/repair-status.aspx) useragent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
System.Web.HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (<).
   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)
2015-12-18 23:46:17,263 ERROR 68.188.161.206 - (null) - (null) - mojoPortal.Web.Global - 68.188.161.206 /<iframe src= Referrer(http://wirelessrepairzone.com/repair-status.aspx) useragent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
System.Web.HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (<).
   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)

 

im running under windows and have attempted on this version below and the lastest release

System Information

mojoPortal Version 2.4.0.8 MSSQL

Operating System Microsoft Windows NT 6.1.7601 Service Pack 1

ASP.NET Info 4.0.30319.34209 Running in Full Trust

Server Time Zone Eastern Standard Time

Server Local Time (GMT -5) 12/18/2015 11:48:15 PM

Greenwich Mean Time (GMT/UTC) 12/19/2015 4:48:15 AM

 

Anyone have any thoughts on this?

1/3/2016 5:10:51 PM
Gravatar
Total Posts 2239

Re: error with iframe

This is not an iframe, it's a script:

<script src="https://app.repairdesk.co/widgets/include.js?token=5674b74984008-686-5674b7498401d&height=1200&width=1000&scrolling=yes"></script>

You should use the "Custom Javascript" module with everything inside of the quotes after src as the "Script URL" with the "Script URL Position" set to "in the page at the position of this content instance".

Hope this helps,
Joe Davis

You must sign in to post in the forums. This thread is closed to new posts.