当前位置:网站首页>Solution for filtering by special string of microservice

Solution for filtering by special string of microservice

2022-06-26 16:08:00 Roc-xb

In the process of using ruoyi micro service , Some will find that when using rich text to upload , Of the text values received by the backend html The labels are filtered out , This is because , The framework will filter all scripts by default , Can be in ruoyi-gateway-dev.yml To configure xss.excludeUrls Attribute exclusion URL.

Tips :ruoyi-gateway-dev.yml stay nacos The console panel can be edited .

#  Security configuration 
security:
  xss:
    enabled: true
    excludeUrls:
      - /system/notice

 

原网站

版权声明
本文为[Roc-xb]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206261549214915.html

随机推荐