{"id":448,"date":"2009-01-08T22:07:31","date_gmt":"2009-01-08T13:07:31","guid":{"rendered":"http:\/\/hangunsworld.com\/blog\/?p=448"},"modified":"2009-01-09T00:16:26","modified_gmt":"2009-01-08T15:16:26","slug":"fp10-hangs-uploading-to-htpasswd-protected-directory","status":"publish","type":"post","link":"http:\/\/hangunsworld.com\/blog\/448","title":{"rendered":"FP10 hangs uploading to .htpasswd protected directory."},"content":{"rendered":"<div class=\"korean\">Flash Player 10\uc5d0\uc11c .htpasswd\ub97c \uc0ac\uc6a9\ud558\uc5ec \ubcf4\ud638\ub418\ub294 \ub514\ub809\ud1a0\ub9ac\ub85c \ud30c\uc77c\uc744 \uc5c5\ub85c\ub4dc\ud558\ub294 \uacbd\uc6b0, \ud50c\ub798\uc2dc \ud50c\ub808\uc774\uc5b4\uac00 \ub2e4\uc6b4\ub418\ub294 \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud569\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \ud2b9\ud788 FireFox\uc5d0\uc11c \ub354 \uc2ec\uac01\ud558\uc5ec, FireFox\uc5d0\uc11c\ub294 \uc544\uc608 \uc5c5\ub85c\ub4dc\uac00 \ubd88\uac00\ub2a5\ud569\ub2c8\ub2e4. Flash Player 9\uc5d0\uc11c\ub3c4 \ube44\uc2b7\ud55c \ubb38\uc81c\uac00 \uc788\uc5c8\uc9c0\ub9cc, \uc7ac\ucc28 \uc5c5\ub85c\ub4dc\ud558\uba74 \ub418\uc5c8\uc73c\ub098, 10\uc5d0\uc120 \uc544\uc608 \uc548\ub429\ub2c8\ub2e4.<\/p>\n<p><strong>\uc7ac\ud6041<\/strong><\/p>\n<ol>\n<li>&#8220;Upload&#8221; \ubc84\ud2bc \ud074\ub9ad\ud558\uc5ec \uc774\ubbf8\uc9c0 \uc5c5\ub85c\ub4dc<\/li>\n<li>\ub85c\uadf8\uc778 (test \/ test)<\/li>\n<li>\uc5c5\ub85c\ub4dc \uc911\uc9c0\ub428<\/li>\n<li>\ube0c\ub77c\uc6b0\uc800 \uc885\ub8cc\ud558\uba74 \ube0c\ub77c\uc6b0\uc800 \ub2e4\uc6b4<\/li>\n<\/ol>\n<p><strong>\uc7ac\ud6042 (Internet Explorer)<\/strong><\/p>\n<ol>\n<li>&#8220;Load&#8221; \ubc84\ud2bc \ud074\ub9ad\ud558\uc5ec \uc774\ubbf8\uc9c0 \ub85c\ub4dc<\/li>\n<li>\ub85c\uadf8\uc778 (test \/ test)<\/li>\n<li>\uc774\ubbf8\uc9c0 \ub85c\ub4dc \uc644\ub8cc\ub418\uba74 \ud654\uba74\uc5d0 \ud45c\uc2dc<\/li>\n<li>&#8220;Upload&#8221; \ubc84\ud2bc \ud074\ub9ad\ud558\uc5ec \uc774\ubbf8\uc9c0 \uc5c5\ub85c\ub4dc<\/li>\n<li>\uc774\ubbf8\uc9c0 \uc5c5\ub85c\ub4dc \uc644\ub8cc<\/li>\n<\/ol>\n<p><strong>\uc7ac\ud6042 (FireFox)<\/strong><\/p>\n<ol>\n<li>&#8220;Load&#8221; \ubc84\ud2bc \ud074\ub9ad\ud558\uc5ec \uc774\ubbf8\uc9c0 \ub85c\ub4dc<\/li>\n<li>\ub85c\uadf8\uc778 (test \/ test)<\/li>\n<li>\uc774\ubbf8\uc9c0 \ub85c\ub4dc \uc644\ub8cc\ub418\uba74 \ud654\uba74\uc5d0 \ud45c\uc2dc<\/li>\n<li>&#8220;Upload&#8221; \ubc84\ud2bc \ud074\ub9ad\ud558\uc5ec \uc774\ubbf8\uc9c0 \uc5c5\ub85c\ub4dc<\/li>\n<li>\ub85c\uadf8\uc778 (test \/ test). \ub85c\uadf8\uc778 \ud31d\uc5c5\uc758 UI\uac00 2\ubc88\uc758 UI\uc640 \ub2e4\ub984.<\/li>\n<li>\uc5c5\ub85c\ub4dc \uc911\uc9c0\ub428<\/li>\n<li>\ube0c\ub77c\uc6b0\uc800 \uc885\ub8cc\ud558\uba74 \ube0c\ub77c\uc6b0\uc800 \ub2e4\uc6b4<\/li>\n<\/ol>\n<p>\uc774 \ubb38\uc81c\ub97c \ud53c\ud558\ub824\uba74, Flash Player\uc5d0\uc11c \ud30c\uc77c\uc744 \uc5c5\ub85c\ub4dc\ud558\ub294 PHP \ud30c\uc77c\uc740 .htpasswd\uc758 \uc601\ud5a5\uc744 \ubc1b\uc9c0 \uc54a\ub294 \ud3f4\ub354\uc5d0 \uc704\uce58\ud558\uc5ec, \ub85c\uadf8\uc778 \uacfc\uc815\uc774 \uc5c6\uc774 \ud30c\uc77c\uc758 \uc5c5\ub85c\ub4dc\uac00 \uc774\ub904\uc9c0\ub3c4\ub85d \ud574\uc57c \ud569\ub2c8\ub2e4. \ub610\ub294 IE\uc5d0\uc11c\ub9cc \uc5c5\ub85c\ub4dc\uac00 \uac00\ub2a5\ud558\ub3c4\ub85d \ud558\uba70, \uc5c5\ub85c\ub4dc \uc804\uc5d0 \ub85c\uadf8\uc778\uc744 \uac70\uce58\ub3c4\ub85d \uad6c\uc131\ud560 \ud544\uc694\uac00 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>IE\uc640 FF\ub97c \uc81c\uc678\ud55c \ub2e4\ub978 \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c\ub294 \ud14c\uc2a4\ud2b8\ub97c \ud574\ubcf4\uc9c0 \ubabb\ud588\uc2b5\ub2c8\ub2e4. \ub2e4\ub978 \ube0c\ub77c\uc6b0\uc800\ub97c \uc0ac\uc6a9\ud558\ub294 \uc0ac\ub78c\ub4e4\uc740 \ud55c \ubc88 \ud14c\uc2a4\ud2b8 \ud6c4\uc5d0 \uacb0\uacfc\ub97c \ucf54\uba58\ud2b8\uc5d0 \ub0a8\uaca8 \uc8fc\uc138\uc694.<\/p><\/div>\n<div class=\"english\">Flash Player 10 hangs when you upload a file to a directory protected with the .htpasswd feature. This is more critical in FireFox, uploading a file is impossible. The same problem occured in Flash Player 9, but you can upload files in the second try. In FP10, you can&#8217;t.<\/p>\n<p><strong>reproduce1<\/strong><\/p>\n<ol>\n<li>Click &#8220;Upload&#8221; button to upload an image.<\/li>\n<li>Login. (test \/ test)<\/li>\n<li>Uploading process halts.<\/li>\n<li>Close the browse, and it crashes.<\/li>\n<\/ol>\n<p><strong>reproduce2 (Internet Explorer)<\/strong><\/p>\n<ol>\n<li>Click &#8220;Load&#8221; button to load an image.<\/li>\n<li>Login. (test \/ test)<\/li>\n<li>After the loading finished, the image displayed.<\/li>\n<li>Click &#8220;Upload&#8221; button to upload an image.<\/li>\n<li>Uploading process finished successfully.<\/li>\n<\/ol>\n<p><strong>reproduce2 (FireFox)<\/strong><\/p>\n<ol>\n<li>Click &#8220;Load&#8221; button to load an image.<\/li>\n<li>Login. (test \/ test)<\/li>\n<li>After the loading finished, the image displayed.<\/li>\n<li>Click &#8220;Upload&#8221; button to upload an image.<\/li>\n<li>Login (test \/ test). The UI of the Login popup is different from the procedure 2.<\/li>\n<li>Uploading process halts.<\/li>\n<li>Close the browser, and it crashes.<\/li>\n<\/ol>\n<p>To avoid the problem, place the PHP file, that handles the uploaded file from Flash Player, on a directory which is not affected by .htpasswd. Or filter browsers to accept only IE, then, put the login process before upload a file.<\/p>\n<p>I tested in IE and FF. If you tested in other browser, please leave a comment about the result.<\/p><\/div>\n<div class=\"japanese\">Flash Player 10\u3067 .htpasswd\u3092\u4f7f\u3063\u3066\u4fdd\u8b77\u3055\u308c\u3066\u3044\u308b\u30d5\u30a9\u30eb\u30c0\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u5834\u5408\u3001Flash Player\u304c\u30af\u30e9\u30c3\u30b7\u30e5\u3059\u308b\u554f\u984c\u304c\u3042\u308b\u3093\u3067\u3059\u3002\u3053\u308c\u306fFireFox\u3067\u3082\u3063\u3068\u3072\u3069\u304f\u3066\u3001FireFox\u3067\u306f\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u4e0d\u53ef\u80fd\u3067\u3059\u3002Flash Player 9\u3082\u540c\u3058\u554f\u984c\u304c\u3042\u3063\u305f\u304c\u3001\u518d\u3073\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308c\u3070\u3067\u304d\u305f\u306e\u306b\u300110\u306f\u5168\u7136\u30c0\u30e1\u3002<\/p>\n<p><strong>\u518d\u898b1<\/strong><\/p>\n<ol>\n<li>&#8220;Upload&#8221;\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30a4\u30e1\u30fc\u30b8\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3002<\/li>\n<li>\u30ed\u30b0\u30a4\u30f3 (test \/ test)<\/li>\n<li>\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u4e2d\u6b62\u3055\u308c\u308b\u3002<\/li>\n<li>\u30d6\u30e9\u30a6\u30b6\u3092\u9589\u3058\u308b\u3068\u3001\u30af\u30e9\u30c3\u30b7\u30e5\u3002<\/li>\n<\/ol>\n<p><strong>\u518d\u898b2 (Internet Explorer)<\/strong><\/p>\n<ol>\n<li>&#8220;Load&#8221;\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30a4\u30e1\u30fc\u30b8\u3092\u30ed\u30fc\u30c9<\/li>\n<li>\u30ed\u30b0\u30a4\u30f3 (test \/ test)<\/li>\n<li>\u30ed\u30fc\u30c9\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u30a4\u30e1\u30fc\u30b8\u304c\u8868\u3059\u3002<\/li>\n<li>&#8220;Upload&#8221; \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30a4\u30e1\u30fc\u30b8\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3002<\/li>\n<li>\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u7d42\u4e86\u3002<\/li>\n<\/ol>\n<p><strong>\u518d\u898b2 (FireFox)<\/strong><\/p>\n<ol>\n<li>&#8220;Load&#8221;\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30a4\u30e1\u30fc\u30b8\u3092\u30ed\u30fc\u30c9<\/li>\n<li>\u30ed\u30b0\u30a4\u30f3 (test \/ test)<\/li>\n<li>\u30ed\u30fc\u30c9\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u30a4\u30e1\u30fc\u30b8\u304c\u8868\u3059\u3002<\/li>\n<li>&#8220;Upload&#8221; \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30a4\u30e1\u30fc\u30b8\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3002<\/li>\n<li>\u30ed\u30b0\u30a4\u30f3 (test \/ test). \u30ed\u30b0\u30a4\u30f3\u30a6\u30a3\u30f3\u30c9\u30fc\u306eUI\u304c2\u756a\u76ee\u3068\u9055\u3046\u3002<\/li>\n<li>\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u4e2d\u6b62\u3055\u308c\u308b\u3002<\/li>\n<li>\u30d6\u30e9\u30a6\u30b6\u3092\u9589\u3058\u308b\u3068\u3001\u30af\u30e9\u30c3\u30b7\u30e5\u3002<\/li>\n<\/ol>\n<p>\u3082\u306e\u554f\u984c\u3092\u56de\u907f\u3059\u308b\u70ba\u306b\u306f\u3001Flash Player\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308bPHP\u30d5\u30a1\u30a4\u30eb\u3092.htpasswd\u306e\u5f71\u97ff\u306e\u306a\u3044\u30d5\u30a9\u30eb\u30c0\u306b\u7f6e\u304f\u3002\u4ed6\u306b\u306fIE\u3060\u3051\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u524d\u306b\u30ed\u30b0\u30a4\u30f3\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u79c1\u306fIE\u3068FF\u3057\u304b\u30c6\u30b9\u30c8\u3057\u3066\u898b\u307e\u3057\u305f\u3002\u4ed6\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u30c6\u30b9\u30c8\u3057\u305f\u65b9\u306f\u3001\u30b3\u30e1\u30f3\u30c8\u3092\u6b8b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p><\/div>\n<p><script type=\"text\/javascript\">\ninsertFlashObject(\"http:\/\/hangunsworld.com\/blog\/wp-content\/uploads\/2009\/01\/htpasswd.swf\", 600, 250);\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Flash Player 10\uc5d0\uc11c .htpasswd\ub97c \uc0ac\uc6a9\ud558\uc5ec \ubcf4\ud638\ub418\ub294 \ub514\ub809\ud1a0\ub9ac\ub85c \ud30c\uc77c\uc744 \uc5c5\ub85c\ub4dc\ud558\ub294 \uacbd\uc6b0, \ud50c\ub798\uc2dc \ud50c\ub808\uc774\uc5b4\uac00 \ub2e4\uc6b4\ub418\ub294 \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud569\ub2c8\ub2e4. \uc774 \ubb38\uc81c\ub294 \ud2b9\ud788 FireFox\uc5d0\uc11c \ub354 \uc2ec\uac01\ud558\uc5ec, FireFox\uc5d0\uc11c\ub294 \uc544\uc608 \uc5c5\ub85c\ub4dc\uac00 \ubd88\uac00\ub2a5\ud569\ub2c8\ub2e4. Flash Player 9\uc5d0\uc11c\ub3c4 \ube44\uc2b7\ud55c \ubb38\uc81c\uac00 \uc788\uc5c8\uc9c0\ub9cc, \uc7ac\ucc28 \uc5c5\ub85c\ub4dc\ud558\uba74 \ub418\uc5c8\uc73c\ub098, 10\uc5d0\uc120 \uc544\uc608 \uc548\ub429\ub2c8\ub2e4. \uc7ac\ud6041 &#8220;Upload&#8221; \ubc84\ud2bc \ud074\ub9ad\ud558\uc5ec \uc774\ubbf8\uc9c0 \uc5c5\ub85c\ub4dc \ub85c\uadf8\uc778 (test \/ test) \uc5c5\ub85c\ub4dc \uc911\uc9c0\ub428 \ube0c\ub77c\uc6b0\uc800 \uc885\ub8cc\ud558\uba74 \ube0c\ub77c\uc6b0\uc800 \ub2e4\uc6b4 \uc7ac\ud6042 (Internet [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[204,202,71,556,172,203,37,205],"class_list":["post-448","post","type-post","status-publish","format-standard","hentry","category-flash-player","tag-htpasswd","tag-crash","tag-firefox","tag-flash-player","tag-flash-player-10","tag-hang","tag-internet-explorer","tag-upload"],"_links":{"self":[{"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/posts\/448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/comments?post=448"}],"version-history":[{"count":11,"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/posts\/448\/revisions"}],"predecessor-version":[{"id":460,"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/posts\/448\/revisions\/460"}],"wp:attachment":[{"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/media?parent=448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/categories?post=448"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/tags?post=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}