rhymix/common/js
Min-Soo Kim 30fd0c428c Improve cookie security; Secure flag
SSL 항상 사용 옵션인 경우 쿠키도 이에 맞추어 SSL 인 경우에만 사용되도록 secure flag 를 추가합니다.
선택적 SSL 인 경우 SSL 이 적용되지 않은 구간에서도 쿠키를 읽을 수 있어야 하므로, 적용하지 않습니다.

이 PR 로 변경되는 내용

- Context 클래스에 checkSslEnforce 메소드 추가
- SSL 항상 사용 옵션일 경우, 가능한 secure 플래그를 달아서 쿠기 굽기
- SSO 쿠키의 경우 javascript 접근이 필요 없을 것으로 예상 ( https://github.com/rhymix/rhymix/pull/1034 ) 되어서 `httpOnly` 플래그도 추가.

안드로이드 웹뷰의 경우 StackOverFlow 의 Reading secure cookies in android WebView 라는 글을 참고하면, 읽어오는 것이 가능하다고 합니다. 주소에 프로토콜을 적지 않을 경우 secure flag 가 달린 쿠키는 정상적으로 읽어오지 않는 듯 하니 안드로이드 웹뷰를 사용하시는 분들은 대응이 필요할 것으로 보입니다.

https: //github.com/rhymix/rhymix/pull/1034 를 실수로 merge 하여서 다시 올립니다.
Co-Authored-By: Kijin Sung <kijin@kijinsung.com>
2018-07-29 12:15:24 +09:00
..
plugins 업로드 파일명 처리 관련 버그 수정 2018-07-20 19:14:36 +09:00
unittest setQuery() 테스트 수정 2017-06-27 14:32:35 +09:00
common.js Improve cookie security; Secure flag 2018-07-29 12:15:24 +09:00
debug.js Add multiple member agreements 2017-11-27 14:43:20 +09:00
html5.js #358 HTML5 Shiv 업데이트. v3.7.0 2014-01-22 13:54:05 +09:00
jquery-1.12.4.js Update jQuery, jQuery Migrate, jQuery UI 2018-01-10 23:53:44 +09:00
jquery-1.12.4.min.js Update jQuery, jQuery Migrate, jQuery UI 2018-01-10 23:53:44 +09:00
jquery-2.2.4.js Update jQuery, jQuery Migrate, jQuery UI 2018-01-10 23:53:44 +09:00
jquery-2.2.4.min.js Update jQuery, jQuery Migrate, jQuery UI 2018-01-10 23:53:44 +09:00
js_app.js #60 css, js 코드 정리. 2013-11-16 20:52:46 +09:00
modernizr.js fix #1084 Modernizr 추가 2014-12-24 13:56:12 +09:00
modernizr.min.js fix #1084 Modernizr 추가 2014-12-24 13:56:12 +09:00
respond.min.js merge from 1.7.3.5(r13153:r13167) 2013-09-29 23:32:39 +00:00
x.js Clean up and reorganize functions in xml_handler.js 2016-01-26 15:57:59 +09:00
xml2json.js Apply new xml2json from XE 1.8.40 2017-06-03 00:08:44 +09:00
xml_handler.js Use strict mode in xml_handler.js 2017-07-02 00:53:06 +09:00
xml_js_filter.js - invalid_float 메시지 추가 2016-08-02 16:00:47 +09:00