Kuwataããï¼
ç°è¾º 2009/10/08 01:54
ç°¡åã«èãä»ãã®ã¯
ã©ãã§ããããã
loggedin |
ãã{ NG => redirect /login.html } â ã¿ã°åå²ã¯ã¨ã©ã¼ã®ã¿
has_token |
ãã{ NG =>> redirect /form/notoken.html }
is_valid |
...
m-hiyama 2009/10/08 08:42ç°è¾ºããã
ãã®æ¹å¼ã ã¨ããNGã¯ã¨ã©ã¼ã表ãããã¨ãè¨èªä»æ§ã«çµã¿è¾¼ããã¨ã«ãªãã®ã§ãããããªãã§ããã¿ã°ã®ä½¿ãéã¯ã¾ã£ããèªç±ã«ãããã®ã§ãåå²æ¡ä»¶ãæ¸ãã¦ãªããªãç´ éããããã®ããééãï¼è¦è½ã¨ããæ··å ¥ãããããªãã®ã§ãããããªããã
ç¶æ³ã輻輳*1ãã¦ãããããããªãã®ã§ãå²ã¨ç°¡åã«è§£æ±ºã§ããã¨æãã¾ãããå®ã¯ããã¾ãï¼Kuwataããã«æ¯ã¹ã¦ï¼åå®æããªãã®ã§ãããã¹ã¯ãªããçãããã
ç°è¾ºããã³ã¡ã³ãã¸ã®å¿çã®ãã¨ããããã¾ãã·ãªã¢ã¹ã«æãã¦ãªãã®ã§ãããåé¡ç¹ãããã®ã確ãã
ã¾ãå¯èªæ§ã«é¢ãã¦ã¯ããããªã«é ·ããªãã ããã¨æã£ã¦ã¾ããã¹ã¯ãªããã®ã¬ã¤ã¢ã¦ããã¡ããã¨ããã°ãå·¦ä¸ããæãä¸ã«è¦ã¦ããã°æ£å¸¸å¦çããã©ããããã¿ã°ã®ã¤ã³ãã³ãä½ç½®ãæãã¦ããã°ã対å¿ããã¨ã©ã¼ã¯ååã«ä¸¦ã³ã¾ãã
ããããããã¿ã°ã®ä½¿ãéã¯ã¾ã£ããèªç±ãã¨ããã¨ãã¨ã©ã¼ã表ãã¿ã°ã®é¸æã¯ã¦ã¼ã¶ã¼ã«ä»»ãããæ£å¸¸ï¼ç°å¸¸ã®åºå¥ã¯ã³ã³ãã³ã·ã§ã³ã«é ¼ããã¨ã«ãªãã¾ããè¨èªæ©è½ã«ä¾å¤ããªãããã°ã©ãã³ã°è¨èªã§ã¯ãã ããããããããã¨ã«ãªã£ã¦ãã¦ããããããªãã£ã¡ããããããªãã®ã§ãããä¾å¤ãããã°åé¡ã¯è§£æ±ºè»½æ¸ã§ãã¾ãã
誤解ãããªãããã«æ³¨æãã¦ããã¨ãCatyã®ã³ãã³ããä¾å¤ãåºããªããããããªãã§ããã³ãã³ã宣è¨ã«ã¯ä¾å¤å®£è¨ãã¡ããã¨ããã¾ããã§ãããä¾å¤ã¯å¿ ãå®è¡ãä¸æ¢ããã¦ãã¾ããHTTPã®500çªã«ãããããã¡ããã®ã§ãï¼ããã£ã¼ï¼ãã¹ã¯ãªããå é¨ã§ä¾å¤ã®ææã¨ãã³ãã«ãåºæ¥ãªãã®ããã
ã³ãã³ããæ¸ãããã°ã©ãããããã¨ãæ£å¸¸å¤ãç°å¸¸å¤ãã©ã£ã¡ãåºåï¼outputï¼ã«æµãã®ã¯éåæãããããªï¼ ã¨ãæãã¾ããããã¡ã ã¨æã£ããä¾å¤æãããã¹ã¿ã¤ã«ã®ã»ããæ¸ããããã§ããã
ã¨ããããã§ãããããã«ããã¦ä¾å¤å¦çæ©æ§ãå ¥ããæ¹åã§ãããä¾å¤ã§æãããã¼ã¿åèããã®ã£ã¦è² æ ãªãã§ããããæ£å¸¸å¦çã®ãã¼ã¿ã¯ç®çãããããªãã¦ããã®ã§å®ç¾©ãããããã§ãããç°å¸¸äºæ å ±åã®ãã¼ã¿ã£ã¦èãã«ãããããç¨åº¦ã®è¦æ¨¡ã®ã©ã¤ãã©ãªã§ãå ¨ä½ã¨ãã¦æ´åçã§ããããªä¾å¤ã¯ã©ã¹é層ãè¨è¨ãããã¨ãæãã¨ãã ãã¶é¬±é¶ããã§ããããã¢ãã°ãµã®åã¨ãã¦ã¯ãããããè² æ ããªããããã§ãã