localhost 또는 특정아이피만 접속가능하게 설정하였을 경우에 발생 아래와 같이 %로 입력 시 외부 전체 접속 허용 됨 MariaDB [(none)]> grant all privileges on 데이터베이스명.* to 아이디@'%' identified by '패스워드' with grant option; MariaDB [(none)]> flush privileges;
이클립스 photon까진 괜찮았으나, 2018-12, 2019-03 버전에서 블록 주석(Ctrl+Shift+/) 시 코드 자동정렬 포맷이 설정되어 있습니다. public class sample { public static void main(String[] args) { String a = "aaa"; String b = "bbb"; try { } catch (Exception e) { // TODO: handle exception } } } 위 코드에서 클래스 내용을 블록 주석(Ctrl+Shift+/) 시 아래와 같이 자동정렬 되어버립니다. /* * public class sample { public static void main(String[] args) { String a = * "aaa"; Stri..
클라이언트에서 파라미터 값을 URLEncode하여 보내준다면 가장 좋겠지만, 클라이언트를 수정할 수 없는 경우에는 서버쪽에서 수정해야합니다. 톰캣 7 특정버전 이상부터 파라미터 값에 특수문자를 받을 수 없도록 수정되었고, 권장하진 않지만 필요하다면 relaxedQueryChars 옵션을 주어 받을 수 있도록 설정 할 수 있습니다. 이런 옵션을 사용하고 싶진 않을 경우엔 하위 버전으로 다운그레이드를 하면 됩니다. relaxedQueryChars The HTTP/1.1 specification requires that certain characters are %nn encoded when used in URI query strings. Unfortunately, many user agents includin..