Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message There is a vulnerability in the limit() function in Rails 3.0.x. This vulnerability has been assigned the CVE identifier CVE-2011-0448.Versions Affected: 3.0.0-3.0.3 Not affected: Releases before 3.0.0 Fixed Versions: 3.0.4 Impact ------ All users running an affec
2. èªå·±ç´¹ä» â ã¨ã¿ã ã¾ãã²ã â [email protected] â ID: tommy ã¨ã tmtm ã¨ã tmtms ã¨ã â Rubyæ´ åæ°å¹´ â MySQLæ´ åæ°å¹´ 1/72 Powered by Rabbit 0.6.1
MySQLã®æååããç´ãããï¼ çºç«¯ã¯Sequelã使ã£ã¦MySQLã®ãã¼ã¿ãæä½ããRubyã¹ã¯ãªãããæ¸ãã¦ããã¨ãã§ããã UTF-8ã§ä¿åããã¯ãã®æååããå¦ã«æååããã¦ãã¾ãã mysqlã³ãã³ãã§ã¨ã³ã³ã¼ãã£ã³ã°ã®ç¢ºèªããã¦ã¿ãã¨ã $ mysql -h host -u user -p database ...(ç¥)... Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> \s -------------- mysql Ver 14.14 Distrib 5.1.30, for portbld-freebsd7.1 (i386) using 5.2 ...(ç¥)... Server characterset: ujis Db characterset: utf8 Client char
â [rails] Rails3ã«ãããã©ã«ãã§HTMLã¨ã¹ã±ã¼ãããæ©è½ããå ¥ã£ãããã ERBã§ã¯ã<%= foo %>ããã¨ã¹ã±ã¼ããªããã<%= h foo %>ããã¨ã¹ã±ã¼ãããã§ããã Rails3ã®trunkã§ãããã©ã«ãã§HTMLã¨ã¹ã±ã¼ããè¡ãæ©è½ãå ¥ã£ãããã§ãã Riding Rails: What's New in Edge Rails å®å ¨ã®ããã«ã<%= foo %>ãã®æ¹ãã¨ã¹ã±ã¼ãããã«ãã¹ãã ããã¨ããè°è«ã¯åãããã£ã¦ã å®è£ ãErubis(ãªãã·ã§ã³ã§å¯è½)ã¨ã SafeERB*1 *2ã¨ã ãã£ãããã§ããã©ãã§ããã°Railsæ¨æºã§ãããªã£ã¦ãæ¹ãè¯ããããã®å¤æ´ãå ¥ãããªã確ãã«ãã¼ã¸ã§ã³2â3ã®ä»ãããªãæ°ããã¾ãã ã¨ã¹ã±ã¼ããç¡å¹ã«ããã«ã¯String#html_safe!ãå¼ã¶ãããã©ã°ã¤ã³ã§ã<%= raw foo %>ãã®ããã«æ¸ãã
Rails 2ç³»ã®XSSèå¼±æ§ãä¿®æ£ããããããå æ¥å ¬éããã¾ããã 4æ¥(ç±³å½æé)ãRuby on Railsã®2ç³»ãã¹ã¦ã®ãã¼ã¸ã§ã³ã«XSSã®èå¼±æ§ããããã¨ãRiding Rails: XSS Vulnerability in Ruby on Railsã«ããã¦çºè¡¨ããããç¹å®ã®Unicodeæååã使ã£ã¦ãã§ãã¯ããããæããä»»æã®HTMLãéãè¾¼ã¾ããå±éºæ§ãããããªãRuby 1.9ç³»ã§åä½ãã¦ããã¢ããªã±ã¼ã·ã§ã³ã¯ãã®å½±é¿ãåããªãã http://journal.mycom.co.jp/news/2009/09/07/048/index.html ãã®ä»¶ã«é¢ãã¦ã大å£ããã¯æ¬¡ã®ããã«èª¬æãã¦ãã¾ãã RoRã®èå¼±æ§ã«é¢é£ãã¦Ruby1.9ã§ã¯å®å ¨ãã¨è§£èª¬ããã¦ãã¾ãããããã¯Ruby1.9ã¯ä¸æ£ãªæåã¨ã³ã³ã¼ãã£ã³ã°ãåãä»ããªãããã§ãã ä½æ ããããåã«ãªããªãæåã¨
ãã¨ãã° PHP ã§ã if ($hoge) { ... } ã¨ãæ¸ãã¦ãã£ããã $hoge ãã©ããªå¤ã®ã¨ãã« if ã®ä¸èº«ãå®è¡ãããã®ãå³çã§ãã¾ããã ããããæ¸ãæ¹ã¯å¤ãã®è¨èªã§å¯è½ã§ãããè¨èªã«ãã£ã¦ä½ãçã§ä½ãå½ã«ãªãã®ããç°ãªãã®ã§ãããããã¾ã¨ãã¦ã¿ã¾ããã Cè¨èª Cè¨èªã«ã¯ bool åãç¡ãã 0 ï¼intï¼ ã ããå½ã¨ãªãããã以å¤ã¯ãã¹ã¦çã¨ãªãã NULL å®æ°ã¯ stddef.h ã§ä»¥ä¸ã®ããã« ((void*)0) ã¨å®ç¾©ããã¦ãããããå½å¤ã¨ãã¦ä½¿ããã æè¦ãåãããããªã¨ããã§ãããå人çã«ã¯NULLãå½å¤ã¨ãã¦ä½¿ç¨ããã¯å¥½ããããªãã§ãã #ifndef __cplsuplus #define NULL ((void*)0) #else #define NULL __null #endif C++ C++ã«ãªã㨠bool åãåºã¦ãããC ã¨å
ã¯ããã« ä»åã¯ãä»è©±é¡ã®æ£è¦è¡¨ç¾ã«ã¤ãã¦ããã®æ´å²ã¨éçãããã¦éçãè¶ããå ã¾ã§ã解説ãã¾ãããªããããã¾ããã³ã¾ã®è¨äºããããã¦èªãã§ã¿ã¦ãã ããã æ£è¦è¡¨ç¾ã¨ã¯ ãã¦ãæ£è¦è¡¨ç¾ã¯ãã¨ãã¨1940年代ã«ç¥çµççå¦è ã«ãã£ã¦çã¾ã[1]â ãæ°å¦è [2]ãè¨èªå¦è ãæ å ±å·¥å¦è ãã¡ã«ãã£ã¦çè«çèæ¯ãç 究ããã¦ãã¾ããããããæåã«ã³ã³ãã¥ã¼ã¿ã§ç¨ããã®ãKen Thompsonã«ããqed[3]ã§ããã以éæ£è¦è¡¨ç¾ã¯ããã¹ãå¦çã«æ¬ ãããªããã¼ã«ã¨ãã¦æããã¦ãã¾ãã[4]â ã åºæ¬çãªæ¼ç® æ£è¦è¡¨ç¾ã§ã¯ãéåã»é£çµã»é¸è¨ã¨ãã3ã¤ã®æ¼ç®ãç¨ãã¦ãç®å½ã¦ã®æåå群ã ããèå¥ããè¦åãè¨è¿°ãã¾ã[5]â ã éåï¼ èªãç¹°ãè¿ããä¸è¬ã«ç¨ããããæ¼ç®å*ãããã¹ã¿ã¼æ¼ç®ã¨ãè¨ããçµååã¯å¼·ãã é£æ¥ï¼ èªã¨èªãã¤ãªãã é¸è¨ï¼ ããèªãå¥ã®èªãã®ã©ã¡ãããçµååã¯å¼±ãã æ¼ç®å Rubyã§ã¯
ã¯ããã« ä»åã¯æååãæ±ãéã«ã¯å¿ãã¦ã¯ãªããªãæåã³ã¼ãã«ã¤ãã¦ãæ¥æ¬äººãç¥ã£ã¦ããã¹ãã¨ã³ã³ã¼ãã£ã³ã°ãä¸å¿ã«è§£èª¬ãã¦ããã¾ãã US-ASCII ASCIIã¯ãASAï¼American Standards Associationãã®ã¡ã«USASIãçµã¦ANSIï¼ã«ãã£ã¦ã1963å¹´6æ17æ¥ã«ASA X3.4-1963ã¨ãã¦å¶å®ããã1967å¹´7æ7æ¥ã«USASIï¼United States of America Standards InstituteãASAãã1966å¹´8æ24æ¥ã«æ¹çµï¼ã«ãã£ã¦USAS X3.4-1967ã¸ã¨æ¹è¨ããã¦ã»ã¼ç¾å¨ã®å½¢ã¨ãªãã¾ããã ãã®å¾ã®å¤ãã®æåã³ã¼ããASCIIã®ã¹ã¼ãã¼ã»ããã¨ãã¦ä½ããããããASCIIã¯å ±éã®ãµãã»ããã¨ãã¦ç¹å¥ãªä½ç½®ã«ç½®ãããããã«ãªãã¾ãããRubyã§ãASCIIã«å«ã¾ããæåã®ã¿ã§æ§æãããStringã¯ãASC
è½æ¸ã åã¨ã³ããªãæ¸ãã¦ããããããã¨èª¿ã¹ã¦ãã¦é©ãããã ãã©ãæ¥æ¬èªã®websiteã§ããããªãã«ã¾ã¨ãã«RFC822(RFC2822,RFC5322)ã«æºæ ãã(ãããã¯ãã¡ãã¨æå³çã«æºæ ãã¦ããªãé¨åãé¸æãã¦ãã)æ£è¦è¡¨ç¾ã¯Perlã ãããPHPã ãããRubyã ããã軽ãããã£ãç¨åº¦ã§ã¯è¦å½ãããªããPerlã®ã¢ã¸ã¥ã¼ã«ã®Email::AddressãEmail::Validãç¨åº¦ã®å·®ã¯ããåé¡ãæ±ãã¦ããããããã¸ãã®æ¢åã®åºåã£ã¦ãæ£è¦è¡¨ç¾ã«ã©ããã£ãåé¡ãããããªãã¦ãã¨ã¯æ¬¡åã¨ã³ããªã«ã¦ã ã¨ããããã§ãPerlãPHPãRubyã§RFC5322æºæ ãªã¡ã¼ã«ã¢ãã¬ã¹(addr-spec)ã®æ£è¦è¡¨ç¾ã以ä¸ã«ç¤ºãã¾ããå°ãaddr-specã®æçµçãªæ£è¦è¡¨ç¾ã®ã¿ãªãããããä½æããã«è³ãé¨åãä½µè¨ãã¦ããã¾ããããã¯ãæçµçãªæ£è¦è¡¨ç¾ã ãã§ã¯é£è§£ããã¦ã¨ã¦ãç解ã§ããªãã
\x{} \pã¯å¾ç¶ããååã表ãã¯ã©ã¹(ããããã£ãã¹ã¯ãªããããããã¯)ã«å±ããæåã«ããããã \Pã¯å¾ç¶ããååã®ã¯ã©ã¹ã«å±ããªãæåã«ããããã¾ãã ã¯ã©ã¹ã®ååãä¸æåã®ã¨ãã¯ãã¬ã¼ã¹ãçç¥ã§ãã¾ãã ã¯ã©ã¹åã®åã«^ãç½®ããã¨ã«ããå¦å®å½¢ã®æå®ãè¡ããã¨ãå¯è½ã§ãã Perl 5.8 ã§ã®å¤æ´ç¹ Perl5.8以é(5.6ã§ã使ããããã§ãã)ã§ã¯ \pã\Pã§å§ã¾ãããããã£æå®ã«æ¨æºUnicodeå±æ§ã使ããã¨ãã§ãã¾ãã 詳ãã㯠perlunicode perlunicode - Perl ã«ããã Unicode ãµãã¼ã ãåç §ãã¦ãã ããã æ¥æ¬èªã«ãã説æã Unicodestandard ã«ãããã¾ãã Perl 5.8以éã§ã¯ã¦ã¼ã¶ã¼ãä»»æã®ããããã£ãä½æãããã¨ãã§ãã¾ã (Isã¾ãã¯Inãå¿ ãåç½®)ã 詳ãã㯠perlunicode perluni
ããã³ã¾ãã¯ãRuby ã«é¢ããæè¡è¨äºã¯ãã¡ããã®ãã¨ãRubyist ã¸ã®ã¤ã³ã¿ãã¥ã¼ãã¨ãã»ã¤ããã®ä»ããå±ãããã¦ã§ãéèªã§ãã Rubyist Magazine ã«ã¤ã㦠ãRubyist Magazineããç¥ãã¦ããã³ã¾ãã¯ãæ¥æ¬ Ruby ã®ä¼ã®æå¿ã«ãã Rubyist ã® Rubyist ã«ãããRubyist ã¨ããã§ãªã人ã®ããã®ã¦ã§ãéèªã§ãã ææ°å· Rubyist Magazine 0058 å· ããã¯ãã³ãã¼ Rubyist Magazine 0058 å· RubyKaigi 2018 ç´åç¹éå· Rubyist Magazine 0057 å· RubyKaigi 2017 ç´åç¹éå· Rubyist Magazine 0056 å· Rubyist Magazine 0055 å· Rubyist Magazine 0054 å· æ±äº¬ Ruby ä¼è° 11 ç´
æ¥æ¬Rubyä¼è°2009ã¯ãå ¨æ¥ç¨ãçµäºãããã¾ãããå¤æ°ã®æ¹ã ã«ãåå ããã ãããããã¨ããããã¾ããã æ¥æ¬Rubyä¼è°2010ã¯ã2010å¹´8æ27æ¥(é)ãã29æ¥(æ¥)ã¾ã§ã®3æ¥éãã¤ãã°å½éä¼è°å ´ã§éå¬ãã¾ãã ææ°æ å ±ã¯ãå ¬å¼ãµã¤ãhttp://rubykaigi.org/2010/jaã§éæãç¥ãããã¦ãã¾ãã æ¥æ¬Rubyä¼è°ã¯ããªãã¸ã§ã¯ãæåã¹ã¯ãªããè¨èªRubyã«é¢ããã¤ãã³ãã¨ãã¦ã¯ ä¸çã§ãæ大ç´ã®ãã®ã§ã2006å¹´ããæ¯å¹´éå¬ããã¦ãã¾ããæ¨å¹´ã¤ãã°ã§éå¬ããã æ¥æ¬Rubyä¼è°2008ã¯ã3æ¥éã§ã®ã¹1000人ãè¶ããæ¥å ´è ãæ°ãã¾ããã ãã®ç¬¬ï¼åç®ã¨ãªãæ¥æ¬Rubyä¼è°2009(ç¥ç§°:RubyKaigi2009)ã¯ã2009å¹´7æ17æ¥ãã 19æ¥ã¾ã§ã®ï¼æ¥éãå¦è¡ç·åã»ã³ã¿ã¼ï¼æ±äº¬é½å代ç°åºï¼ã«ã¦éå¬ãããã¾ãã é½å ã¯ãã¨ãããé¢æ±åå¤ã®æ¹ããåå ã
表ç¾åã®é«ãææ³ã¨ãå¼·åã§å 容ã®è±ããªAPIãæã¤ã³ã¢ã¯ã©ã¹ã©ã¤ãã©ãªãåããåçããã°ã©ãã³ã°è¨èªã§ããRubyã¯ãããã°ã©ãã³ã°ã®æ¥½ãããæããè¨èªã¨ãã¦ä¸çä¸ã®ããã°ã©ããã大ããªæ¯æãéãã¦ãã¾ããæ¬æ¸ã¯Rubyããã°ã©ãã³ã°è¨èªãå¾¹åºçã«ããã¤ãããããã解説ãããã®ã§ããåå¥æ§é ããã¼ã¿åãå¼ã¨æ¼ç®åããæ¡ä»¶åé¢ãé¢æ°ããã°ã©ãã³ã°ãã¯ã©ã¹ã¨ã¢ã¸ã¥ã¼ã«ãã¡ã¿ããã°ã©ãã³ã°ã¾ã§Rubyè¨èªã®ãã¹ã¦ãå æ¬çã«èª¬æãã¦ãã¾ããRubyã³ã¢ãã©ãããã©ã¼ã ãããã°ã©ãã³ã°ç°å¢ã«ã¤ãã¦ã詳述ãRubyãå¦ã¶ãã¹ã¦ã®äººã«ãããRuby解説æ¸ã®æ±ºå®çã§ãã ç®æ¬¡ èè ã¾ããã ã¯ããã« 1ç« ã¤ã³ãããã¯ã·ã§ã³ 1.1 Rubyã²ã¨ããã 1.1.1 Rubyã¯ãªãã¸ã§ã¯ãæåè¨èª 1.1.2 ãããã¯ã¨ã¤ãã¬ã¼ã¿ 1.1.3 Rubyã®å¼ã¨æ¼ç®å 1.1.4 ã¡ã½ãã 1.1.5 ä»£å ¥ 1
CUI 㪠Git ãã©ã¦ã¶ tig ãå ¥ãã¦ã¿ã (Born Too Late) [git][scm][tig] tig ã使ã£ã¦ã¿ã (do_akiã®å¾ç¶æ³è¨) Twitter Trackbacks () ã¨ã¹ã¨ã¹å¤ç¥ã2010é»è¨é¨ã«åå ãã #tobesetu (key-cc) EC-CUBE LC_Page::sendRedirect()ã«å¼æ°ã渡ããªã (å¼±å°PHPerã®æ鬱) [densetu][åå¼·ä¼][å¦æ ¡]é»è¨é¨ITåå¼·ä¼#3ããã¾ããï¼éæè¿½è¨ (å¦å ITåå¼·ä¼ã®ã¹ã¹ã¡ - atcorp) é»è¨é¨ITåå¼·ä¼#3ã«åå ããã£ï¼ (Curious) GLT #24 ï¼æ親ä¼ï¼ã«ä¹±å ¥ãã¦ããï¼ (Curious) GLT (Genesis Lightning Talks) Vol.24ã«åå ãã¾ãã (key-cc) GLT (Genesis Lightning Talks
å æ¥ãéåæã«ãããããã©ãã¨ããè¨äºãæ¸ãã¦ãããã£ã¨ãéåæå¦çã¡ã¤ã³ã®Webã¢ããªã«ã¤ãã¦èãã¦ãã¾ããå®è£ ããããã§ã¯ãªããããã¾ã æºä¸ã®ç©ºè«ã«ããã¾ããããæ¹åæ§ãè¦ãã¦ããã®ã§åå¿é²ã¨ãã¦æ®ãã¦ããã¾ãã åææ¡ä»¶ Create/Update/Deleteã®ãªã¯ã¨ã¹ãã¯éåæã§å¦çããï¼åç §ï¼Life is beautiful: ãã«ãã¹ã¬ããã»ããã°ã©ãã³ã°ã®è½ã¨ãç©´ããã®ï¼ï¼ ã¦ã¼ã¶ç»é²å¦çãä¾ã«èãã ç¾å¨ãPintoã¨ããã½ã¼ã·ã£ã«ããã¯ãã¼ã¯ãä½ã£ã¦ããã®ã§ããã®ã¦ã¼ã¶ç»é²å¦çãä¾ã¨ãã¦èãã¾ãã 1. ã¦ã¼ã¶ç»é²ç»é¢ãªã½ã¼ã¹ãåå¾ GET /create_user_form HTTP/1.1 Host: ja.pinto.jp 2. ã¦ã¼ã¶ç»é²ã¸ã§ããªã½ã¼ã¹ãä½æ POST /create_user_jobs HTTP/1.1 Host: ja.pinto.jp u
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
Rubyè¨èªã¯ããã®è¨è¿°æ§ã®é«ããªã©ãã注ç®ãéããç¹ã«Webã¢ããªã±ã¼ã·ã§ã³æ§ç¯ã®ç¾å ´ãªã©ã§åºãç¨ããããããã«ãªãã¤ã¤ããã¾ãããããããã®ä¸æ¹ã§ç¢ºå®ããè¨èªä»æ§æ¸ãåå¨ããªããã¨ã¯Rubyã«ä¿ã調éä»æ§æ¸ä½æã«æ¯éãæ¥ãå ´åãããã ãã§ãªããRubyã«é¢ãã人æè²æã®é¢ãé·æçãªå®å®éç¨ãå¿ è¦ã¨ããæ å ±ã·ã¹ãã åéã¸ã®å¿ç¨ãRubyå¦çç³»çã¸ã®å¤§è¦æ¨¡ãªéçºæè³ãªã©ã«å¯¾ããéå£ã¨ãªãå ´åãããã¾ãã ã ããã§ãRubyã®è¨èªä»æ§æ¸ãæ¤è¨ããå½éæ¨æºåãå³ããã¨ã«ãããRubyãã ãããå®å¿ãã¦èª¿éã人æè²æã«æ´»ç¨ã§ããç°å¢ãæ§ç¯ãããã¨ãç®æãã¾ãã Rubyã¯ãªã¼ãã³ã½ã¼ã¹ã¨ãã¦éçºããã¦ãããæ¢ã«å¤ãã®éçºè ãåå ããã³ãã¥ããã£ãå½¢æããã¦ãã¾ãããã®ãããªä½å¶ã«ããRubyã®æ¹è¯ã»é²æ©ã®é害ã¨ãªããªãããååã«é æ ®ããæ¨æºä»æ§ã®è¦ä»¶ã«ã¤ãã¦æ¤è¨ããããã«åºã¥ããæ¨æºä»æ§ã®è
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}