You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contextual Output Encoding is a computer programming technique necessary to stop Cross Site Scripting. This project is a Java 1.5+ simple-to-use drop-in high-performance encoder class with little baggage.
6
+
Contextual Output Encoding is a computer programming technique necessary to stop
7
+
Cross-Site Scripting. This project is a Java 1.5+ simple-to-use drop-in high-performance
8
+
encoder class with little baggage.
7
9
8
-
For more information on how to use this project, please see https://www.owasp.org/index.php/OWASP_Java_Encoder_Project#tab=Use_the_Java_Encoder_Project.
10
+
For more information on how to use this project, please see the [OWASP wiki](https://www.owasp.org/index.php/OWASP_Java_Encoder_Project#tab=Use_the_Java_Encoder_Project).
9
11
10
12
Start using the OWASP Java Encoders
11
13
-----------------------------------
12
14
You can download a JAR from [Maven Central](https://search.maven.org/#search|ga|1|g%3A%22org.owasp.encoder%22%20a%3A%22encoder%22).
13
15
14
-
JSP tags and functions are available in the encoder-jsp, also available in [Central](http://search.maven.org/remotecontent?filepath=org/owasp/encoder/encoder-jsp/1.2/encoder-jsp-1.2.jar). This jar requires the core library.
16
+
JSP tags and EL functions are available in the encoder-jsp, also available in [Central](http://search.maven.org/remotecontent?filepath=org/owasp/encoder/encoder-jsp/1.2/encoder-jsp-1.2.jar).
15
17
16
18
The jars are also available in Maven:
17
19
18
20
```xml
19
21
<dependency>
20
-
<groupId>org.owasp.encoder</groupId>
21
-
<artifactId>encoder</artifactId>
22
-
<version>1.2</version>
22
+
<groupId>org.owasp.encoder</groupId>
23
+
<artifactId>encoder</artifactId>
24
+
<version>1.2.1</version>
23
25
</dependency>
24
26
25
27
<dependency>
26
-
<groupId>org.owasp.encoder</groupId>
27
-
<artifactId>encoder-jsp</artifactId>
28
-
<version>1.2</version>
28
+
<groupId>org.owasp.encoder</groupId>
29
+
<artifactId>encoder-jsp</artifactId>
30
+
<version>1.2.1</version>
29
31
</dependency>
30
32
```
31
33
32
34
Quick Overview
33
35
--------------
34
-
The OWASP Java Encoder library is intended for quick contextual encoding with very little overhead, either in performance or usage. To get started, simply add the encoder-1.2.jar, import org.owasp.encoder.Encode and start using.
36
+
The OWASP Java Encoder library is intended for quick contextual encoding with very little
37
+
overhead, either in performance or usage. To get started, simply add the encoder-1.2.jar,
38
+
import org.owasp.encoder.Encode and start using.
35
39
36
40
Example usage:
37
41
@@ -46,6 +50,11 @@ Happy Encoding!
46
50
47
51
News
48
52
----
53
+
### 2017年02月19日 - 1.2.1 Release
54
+
The team is happy to announce that version 1.2.1 has been released!
55
+
* The CDATA Encoder was modified so that it does not emit intermediate characters between adjacent CDATA sections.
56
+
* The documentation on [gh-pages](https://owasp.github.io/owasp-java-encoder/) has been improved.
57
+
49
58
### 2015年04月12日 - 1.2 Release on GitHub
50
59
OWASP Java Encoder has been moved to GitHub. Version 1.2 was also released!
0 commit comments