Browse Source

한영 변환시 referer 체크 부분 추가

SH 1 week ago
parent
commit
807143caa2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/java/sgc/portal/websquare/web/WebsquareController.java

+ 1 - 0
src/main/java/sgc/portal/websquare/web/WebsquareController.java

@@ -149,6 +149,7 @@ public class WebsquareController {
 				|| referer.substring(0, 26).equals("https://gw.sgcenergy.co.kr")
 				|| referer.substring(0, 29).equals("https://gw.sgcsolutions.co.kr")
 				|| referer.substring(0, 30).equals("https://gw.sgcgreenpower.co.kr")
+				|| referer.substring(0, 24).equals("https://portal.sgc.co.kr")
 				) {
 
 			UserDetails userDetails = (UserDetails) SessionUtil.getAttribute(SgcPortalAttributes.AUTHENTICATION);