|
|
| version 1.487, 2001/11/21 14:00:28 | version 1.503, 2001/12/15 21:49:18 |
|---|---|
| Line 1 | Line 1 |
| @main[] | @main[] |
| $request:charset[windows-1251] | |
| $response:charset[windows-1251] | |
| #^treplace[] | |
| #^xslt2[] | |
| #^tcache2[] | |
| #$ORIGINS(1) | |
| #$t[^table::set{a b} ^table::set{c d}] | |
| #^ttaintuntaint[] | #^ttaintuntaint[] |
| #^tappend2[] | #^tappend2[] |
| #^badvsnprintf[] | #^badvsnprintf[] |
| Line 72 | Line 79 |
| <hr> | <hr> |
| OK | OK |
| @treplace[] | |
| $copy-paste-clean[^table::set{a b | |
| . _ | |
| , _ | |
| + _ | |
| & _ | |
| ? _ | |
| = _}] | |
| $cache_key[^taint[в.а,с+я]&был?тут=недавно.cache] | |
| # почему-то этот replace роняет апач в 500 ошибку :( | |
| #^cache_key.replace[$copy-paste-clean] | |
| $test[abc] | |
| ^test.save[$cache_key]saved<br> | |
| $cache[^file:list[.;\.cache^$]] | |
| ^file:delete[$cache_key]deleted($cache.name)<br> | |
| @xslt2[] | |
| $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?> | |
| <document><block><p>hi</p></block></document> | |
| }] | |
| #^show-xdoc2[$xdoc] | |
| ^show-xdoc2[^xdoc.transform[templates/_document.xslt]] | |
| <hr> | |
| @tcache2[] | |
| ^cache[$DB_HOME/keyключ](2){ | |
| ^math:random(100) | |
| } | |
| @ttaintuntaint[] | @ttaintuntaint[] |
| <!-- некий панковский заголовок с буковкой C в круглых скобках -->^taint[html][ | <!-- некий панковский заголовок с буковкой C в круглых скобках -->^taint[html][ |
| Line 261 $dom_created_in_air[^xdoc::create[doc]] | Line 301 $dom_created_in_air[^xdoc::create[doc]] |
| @tcache[] | @tcache[] |
| ^rem{ | |
| #^hashfile:clear[cache] | #^hashfile:clear[cache] |
| $code[^hashfile::open[$DB_HOME;cache]] | $code[^hashfile::open[$DB_HOME;cache]] |
| ^code.cache[key](2){ | ^code.cache[key](2){ |
| ^math:random(100) | ^math:random(100) |
| # ^code.delete[] | # ^code.delete[] |
| } | } |
| } | |
| @thashfileexp[] | @thashfileexp[] |
| $hf[^hashfile::open[$DB_HOME;hashfile]] | $hf[^hashfile::open[$DB_HOME;hashfile]] |
| Line 600 $a.status|$a.stderr<hr> | Line 641 $a.status|$a.stderr<hr> |
| @fori[][i] | @fori[][i] |
| ^for[i](1;3){... =$i= ...} | ^for[i](1;3){... =$i= ...} |
| @xdata[] | @xdata0[] |
| #$response:content-type[$.value[text/html] $.charset[windows-1251]] | #$response:content-type[$.value[text/html] $.charset[windows-1251]] |
| $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251"?> | $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251"?> |
| <!--DOCTYPE people SYSTEM "D:\Y\parser3project\parser3\src\www\htdocs\people.dtd"--> | <!--DOCTYPE people SYSTEM "D:\Y\parser3project\parser3\src\www\htdocs\people.dtd"--> |
| Line 614 $xdoc[^xdoc::set{<?xml version="1.0" enc | Line 655 $xdoc[^xdoc::set{<?xml version="1.0" enc |
| </people> | </people> |
| }] | }] |
| @xdata[] | |
| #$response:content-type[$.value[text/html] $.charset[windows-1251]] | |
| $xdoc[^xdoc::set{^process{<?xml version="1.0" encoding="windows-1251"?> | |
| <!--DOCTYPE people SYSTEM "D:\Y\parser3project\parser3\src\www\htdocs\people.dtd"--> | |
| <people> | |
| <man id="1" имя="word слово"> | |
| <name>P«^;AF B</name> | |
| </man> | |
| <man id="2"> | |
| <name>ПИФ^taint[&]</name> | |
| </man> | |
| </people> | |
| }}] | |
| @xml[] | @xml[] |
| ^xdata[] | ^xdata[] |