웹취약점
This commit is contained in:
parent
2e7edf1477
commit
87c6a9a51e
@ -11,6 +11,7 @@ import javax.servlet.http.HttpServletResponse;
|
|||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
import org.springframework.security.access.annotation.Secured;
|
import org.springframework.security.access.annotation.Secured;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
@ -54,7 +55,9 @@ import nlib.util.StringUtil;
|
|||||||
public class CartController extends NlibCommonController
|
public class CartController extends NlibCommonController
|
||||||
{
|
{
|
||||||
private static final Logger log = LoggerFactory.getLogger(CartController.class);
|
private static final Logger log = LoggerFactory.getLogger(CartController.class);
|
||||||
static final String DEFUALT_PAGE_SIZE = NlibProperty.getProperty("list.paging.page.size");
|
|
||||||
|
@Value("#{properties['list.paging.page.size']}")
|
||||||
|
private String DEFUALT_PAGE_SIZE;
|
||||||
|
|
||||||
@Resource(name = "cartService")
|
@Resource(name = "cartService")
|
||||||
private CartService cartService;
|
private CartService cartService;
|
||||||
|
|||||||
@ -110,7 +110,7 @@ public class DataApiTempXml implements DataApiInterface {
|
|||||||
log.debug("RES resVO : resultMessage = " + resVO.getResultMessage());
|
log.debug("RES resVO : resultMessage = " + resVO.getResultMessage());
|
||||||
|
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
e.printStackTrace();
|
log.error("ERROR at DataApiTempXml.request : " + e.toString());
|
||||||
return DataApiInterface.makeErrorRes("E_REQ_EXCEPTION", e.toString());
|
return DataApiInterface.makeErrorRes("E_REQ_EXCEPTION", e.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -410,7 +410,7 @@ public class NlibSearchController extends NlibCommonController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
log.error("shorturl-data.do 단축url > Exception 발생 : " + e.toString());
|
log.error("shorturl-data.do 단축url > IOException 발생 : " + e.toString());
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@ -420,7 +420,7 @@ public class NlibSearchController extends NlibCommonController {
|
|||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
log.error("shorturl-data.do 단축url > Exception 발생 : " + e.toString());
|
log.error("shorturl-data.do 단축url > IOException 발생 : " + e.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return returnUrl;
|
return returnUrl;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user