[SOLVED] purpose of json Forbidden handler in web.config?

Answered
0
0

In my web.config, the json line is commented out. I believe I did this because WiseJ was interfering with some json delivery for an API I did under the a sub-folder on the domain (WiseJ app is active on the root of the domain).

 

Question is, what is the purpose of the line? Is it OK to comment out? thanks.

Andrew

<modules>
<add name=”Wisej” type=”Wisej.Core.HttpModule, Wisej.Core”/>
</modules>
<handlers>
<!– <add name=”json” verb=”*” path=”*.json” type=”System.Web.HttpForbiddenHandler” /> –>
<add name=”wisej” verb=”*” path=”*.wx” type=”Wisej.Core.HttpHandler, Wisej.Core”/>
</handlers>

  • You must to post comments
Best Answer
0
0

To prevent an app from disclosing Default.json since it may contain app specific settings in “settings”:{}. It’s not needed by Wisej.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.