• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to configure ESAPI?

New Here ,
Jun 08, 2015 Jun 08, 2015

Copy link to clipboard

Copied

Hi,

I'm getting this error : Variable ESAPIENCODER is undefined.

my code is this:

<cfset esapi = CreateObject("java", "org.owasp.esapi.ESAPI") />

  <cfset esapiEncoder = esapi.encoder() />

not sure what I missed in the configuration.

I do appreciate any help.

Thanks in advance,

rdm

Views

396

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jun 08, 2015 Jun 08, 2015

Copy link to clipboard

Copied

There is no other code referencing "esapiEncoder"? Usually this error occurs later on in the code when you try and reference something that doesn't exists. What you posted shouldn't give you that error.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 08, 2015 Jun 08, 2015

Copy link to clipboard

Copied

LATEST

Thanks haxtbh. you gave me an idea. Solved the issue.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation