Skip to content

Commit ca40697

Browse files
committed
s/master/main/ in doc URLs
1 parent c7db2d4 commit ca40697

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OWASP Java HTML Sanitizer
22

3-
[<img src="https://travis-ci.org/OWASP/java-html-sanitizer.svg">](https://travis-ci.org/OWASP/java-html-sanitizer) [![Coverage Status](https://coveralls.io/repos/github/OWASP/java-html-sanitizer/badge.svg?branch=master)](https://coveralls.io/github/OWASP/java-html-sanitizer?branch=master) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/2602/badge)](https://bestpractices.coreinfrastructure.org/projects/2602) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer/badge.png?style=plastic)](https://search.maven.org/artifact/com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer)
3+
[<img src="https://travis-ci.org/OWASP/java-html-sanitizer.svg">](https://travis-ci.org/OWASP/java-html-sanitizer) [![Coverage Status](https://coveralls.io/repos/github/OWASP/java-html-sanitizer/badge.svg?branch=main)](https://coveralls.io/github/OWASP/java-html-sanitizer?branch=main) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/2602/badge)](https://bestpractices.coreinfrastructure.org/projects/2602) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer/badge.png?style=plastic)](https://search.maven.org/artifact/com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer)
44

55

66
A fast and easy to configure HTML Sanitizer written in Java which lets
@@ -45,7 +45,7 @@ String safeHTML = policy.sanitize(untrustedHTML);
4545
## Crafting a policy
4646

4747
The
48-
[tests](https://github.com/OWASP/java-html-sanitizer/blob/master/src/test/java/org/owasp/html/HtmlPolicyBuilderTest.java)
48+
[tests](https://github.com/OWASP/java-html-sanitizer/blob/main/src/test/java/org/owasp/html/HtmlPolicyBuilderTest.java)
4949
show how to configure your own
5050
[policy](https://static.javadoc.io/com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer/20200713.1/org/owasp/html/HtmlPolicyBuilder.html):
5151

@@ -187,7 +187,7 @@ used HTML parsers will agree on the meaning of, but the absence of
187187
notifications does not mean that the input is in such a sub-set,
188188
only that it does not contain elements or attributes that were removed.
189189

190-
See ["Why sanitize when you can validate"](https://github.com/OWASP/java-html-sanitizer/blob/master/docs/html-validation.md) for more on this topic.
190+
See ["Why sanitize when you can validate"](https://github.com/OWASP/java-html-sanitizer/blob/main/docs/html-validation.md) for more on this topic.
191191

192192
## Questions?
193193

@@ -206,7 +206,7 @@ We welcome [issue reports](https://github.com/OWASP/java-html-sanitizer/issues)
206206
PRs that change behavior or that add functionality should include both positive and
207207
[negative tests](https://www.guru99.com/negative-testing.html).
208208

209-
Please be aware that contributions fall under the [Apache 2.0 License](https://github.com/OWASP/java-html-sanitizer/blob/master/COPYING).
209+
Please be aware that contributions fall under the [Apache 2.0 License](https://github.com/OWASP/java-html-sanitizer/blob/main/COPYING).
210210

211211
## Credits
212212

Diff for: docs/getting_started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ to one of your project's `.java` files and compile it.
2323
## Using the APIs
2424

2525
The
26-
[examples](https://github.com/OWASP/java-html-sanitizer/tree/master/src/main/java/org/owasp/html/examples)
26+
[examples](https://github.com/OWASP/java-html-sanitizer/tree/main/src/main/java/org/owasp/html/examples)
2727
include source code which defines a sanitization policy, and applies
2828
it to HTML.
2929

Diff for: html-types/src/main/java/org/owasp/html/htmltypes/SafeHtmlMint.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* This class is safe when the policy factories passed to it are safe.
4646
* <a href="https://github.com/mikesamuel/fences-maven-enforcer-rule">Fences</a>
4747
* can be used to control access to {@link SafeHtmlMint#fromPolicyFactory}
48-
* as needed, and <a href="https://github.com/mikesamuel/fences-maven-enforcer-rule/blob/master/src/site/markdown/caveats.md">the plausible deniability</a>
48+
* as needed, and <a href="https://github.com/mikesamuel/fences-maven-enforcer-rule/blob/main/src/site/markdown/caveats.md">the plausible deniability</a>
4949
* standard can be extended to writing policies that white-list known-unsafe
5050
* content.
5151
*/

Diff for: html-types/src/main/java/org/owasp/html/htmltypes/package-info.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828

2929
/**
3030
* Wraps HTML policy builders to produce
31-
* <a href="https://github.com/google/safe-html-types/blob/master/doc/safehtml-types.md">Safe HTML</a>.
31+
* <a href="https://github.com/google/safe-html-types/blob/main/doc/safehtml-types.md">Safe HTML</a>.
3232
* <p>
33-
* @see <a href="https://github.com/OWASP/java-html-sanitizer/blob/master/docs/credits.md">usage</a>
33+
* @see <a href="https://github.com/OWASP/java-html-sanitizer/blob/main/docs/credits.md">usage</a>
3434
* @author Mike Samuel ([email protected])
3535
*/
3636
@javax.annotation.ParametersAreNonnullByDefault

0 commit comments

Comments
 (0)