florentulve / owasp-esapi-js

Automatically exported from code.google.com/p/owasp-esapi-js
Other
0 stars 0 forks source link

Getting started guide JS sample doesn't work #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Follow the steps in the getting started guide and copy the JS code sample as is

What is the expected output? 
ESAPI methods work.

What do you see instead?
JS Errors

What version of the product are you using? On what operating system?
ESAPI4JS 1.3  on Firefox 23 linux 32 bit.

Please provide any additional information below.
The order that the JS libraries load is significant.  The sample code in the 
getting started guide should be:

<!-- esapi4js dependencies -->
    <script type="text/javascript" language="JavaScript" src="scripts/esapi4js/lib/log4js.js"></script>
    <!-- esapi4js core -->
    <script type="text/javascript" language="JavaScript" src="scripts/esapi4js/esapi.js"></script>
    <!-- esapi4js i18n resources -->
    <script type="text/javascript" language="JavaScript" src="scripts/esapi4js/resources/i18n/ESAPI_Standard_en_US.properties.js"></script>
    <!-- esapi4js configuration -->
    <script type="text/javascript" language="JavaScript" src="scripts/esapi4js/resources/Base.esapi.properties.js"></script>

Original issue reported on code.google.com by stephe...@gmail.com on 28 Aug 2013 at 7:23