Skip to content

Commit

Permalink
⬇️ Downgrading dependencies. knife4j version
Browse files Browse the repository at this point in the history
  • Loading branch information
lltx committed Mar 8, 2024
1 parent 923d266 commit 99384b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pig-common/pig-common-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<fastjson.version>1.2.83_noneautotype</fastjson.version>
<knife4j.version>3.1.0</knife4j.version>
<knife4j.version>3.0.3</knife4j.version>
<springdoc.version>2.3.0</springdoc.version>
<swagger.core.version>2.2.20</swagger.core.version>
<mybatis-plus.version>3.5.5</mybatis-plus.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public HtmlSafeList() {
}

@Override
protected boolean isSafeAttribute(String tagName, Element el, Attribute attr) {
public boolean isSafeAttribute(String tagName, Element el, Attribute attr) {
// 不允许 javascript 开头的 src 和 href
if ("src".equalsIgnoreCase(attr.getKey()) || "href".equalsIgnoreCase(attr.getKey())) {
String value = attr.getValue();
Expand Down

0 comments on commit 99384b2

Please sign in to comment.