Skip to content

Commit 1498d97

Browse files
committed
Merge pull request #48 from scala/adriaanm-secure-parsing
Added link to secure parsing best practice
2 parents c9f50ce + a34336b commit 1498d97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ The compiler was decoupled from this particular implementation using the same ap
1313

1414
API documentation is available [here](http://www.scala-lang.org/api/current/scala-xml/).
1515

16+
## Security best practices
17+
The XML spec has some features that are best turned off, to avoid unsavory things like file system access, DoS attacks,... Issue [#17](https://github.com/scala/scala-xml/issues/17) tracks the recommended way of configuring the xml parser used by scala-xml to avoid these. This is by no means an exhaustive list. We'll be happy to incorporate your suggestions -- just comment on the ticket!
18+
1619
## Adding an SBT dependency
1720
To depend on scala-xml in SBT, add something like this to your build.sbt:
1821

0 commit comments

Comments
 (0)