svnno****@sourc*****
svnno****@sourc*****
2008年 7月 5日 (土) 04:05:26 JST
Revision: 433 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=bbs2ch&view=rev&rev=433 Author: flyson Date: 2008-07-05 04:05:26 +0900 (Sat, 05 Jul 2008) Log Message: ----------- [04_BRANCH] protocolFlags に URI_LOADABLE_BY_ANYONE を追加 Modified Paths: -------------- branches/bbs2chreader/04_BRANCH/components/b2rProtocolHandler.js -------------- next part -------------- Modified: branches/bbs2chreader/04_BRANCH/components/b2rProtocolHandler.js =================================================================== --- branches/bbs2chreader/04_BRANCH/components/b2rProtocolHandler.js 2008-07-04 19:01:37 UTC (rev 432) +++ branches/bbs2chreader/04_BRANCH/components/b2rProtocolHandler.js 2008-07-04 19:05:26 UTC (rev 433) @@ -84,9 +84,11 @@ scheme: "bbs2ch", defaultPort: -1, - protocolFlags: Ci.nsIProtocolHandler.URI_NOAUTH, + // XXX 設計を見直して URI_LOADABLE_BY_ANYONE をやめるようにする + protocolFlags: Ci.nsIProtocolHandler.URI_NOAUTH | Ci.nsIProtocolHandler.URI_LOADABLE_BY_ANYONE, + allowPort: function(aPort, aScheme){ return false; },