esapi Questions
5
Solved
I am using espaiESAPI to encode string value to resolve cross site scripting issue as shown below (code snippet).
String encodedString = ESAPI.encoder().encodeForHTML(value);
Exception Trace
o...
Daggerboard asked 15/12, 2015 at 16:58
7
Solved
There is an Spring global @ExceptionHandler(Exception.class) method which logs exception like that:
@ExceptionHandler(Exception.class)
void handleException(Exception ex) {
logger.error("Simple er...
4
Solved
I added a OWASP ESAPI library to my project. And currently I'm stuck with a problem where to locate ESAPI.properties file. This project later should be deployed on few servers to which I don't have...
2
4
When I scan using Fortify I have vulnerabilities like "Often Misused: Authentication" in the code below. Is there any fix for this issue?
I have seen related posts but I was not able to g...
3
I am trying to use OWASP ESAPI for validating strings in a spring mvc project.
So far I have done:
1-
<dependency>
<groupId>org.owasp.esapi</groupId>
<artifactId>esapi&...
0
This is a strange one that only started within the past few months I would say. Textareas in Microsoft Edge only are displaying extra line breaks when using ColdFusion's encodeForHTML(). How to rep...
Harijan asked 30/5, 2019 at 23:48
4
Solved
I am working on upgrading log4j to log4j2. In that process I am getting a Logger Class cast exception. Below is the error.
Caused by: java.lang.ClassCastException: org.apache.log4j.Logger cannot b...
10
Solved
I am trying to use ESAPI.jar for providing security to my web application.Basically I have just started using ESAPI.jar.
But problem is I am not able to run even a simple program using ESAPI.
The s...
Fustigate asked 8/10, 2011 at 11:17
3
Am trying to use OWASP ESAPI library in my web app to escape request parameters in JSPs as below
ESAPI.encoder().encodeForHTML(request.getParameter()).
I have added esapi-2.1.0.jar under WEB-INF...
2
Solved
encodeForHtml() (new in CF10) vs htmlEditFormat(), how are they different?
Novice asked 15/5, 2012 at 8:41
2
In my current project I am using Maven and Spring. I am currently using SLF4J logger for logging services. In place of that I want to use OWASP-ESAPI logger. I don't want to use OWASP-ESAPI securit...
1
2
Solved
I am planing to develop a web application using Spring MVC and trying to figure out which is the best library to use to over come Top 10 OWASP issue. I came to see two HDIV and ESAPI, can any one p...
Disloyalty asked 7/1, 2015 at 17:41
1
Solved
I have two servers - one production and one development - running ColdFusion 9.0.1 on IIS 7.5 on Windows Server 2008 R2. The two are configured identically. We have a transient issue where, after w...
Inconvertible asked 27/8, 2014 at 17:20
1
Solved
I hope someone could help me with some issue.
I'm using OWASP ESAPI 2.1.0 with JavaEE, to help me to validate some entries in a web application. At some point I needed to validate a Windows file p...
Aspiration asked 30/6, 2014 at 22:21
3
Solved
i have a litte JavaEE project, and i have to secure it with the OWASP ESAPI
i integrated the ESAPI like this in Maven:
<!-- ESAPI Version 2.0.1 -->
<dependency>
<groupId>org.ow...
Kristofer asked 3/3, 2012 at 3:39
3
Solved
In an earlier question encodeForHtml() vs htmlEditFormat(), how are they different, it seems like the new encodeForHtml() & encodeForURL() functions are superior to htmlEditFormat() & urlFo...
Pinball asked 15/5, 2012 at 16:24
3
Solved
I'm a Java developer heading down the road that leads to App Security, and I've stumbled across the OWASP organization and its companion Java API, ESAPI.
In another question I asked on this site m...
1
© 2022 - 2024 — McMap. All rights reserved.