|
|
| version 1.52, 2001/03/24 19:55:34 | version 1.307, 2001/09/11 08:43:39 |
|---|---|
| Line 1 | Line 1 |
| @auto[] | |
| $html-typo[^table:set{user html | |
| _  ^; | |
| <^;<^; «^; | |
| >^;>^; »^; | |
| }] | |
| @main[] | @main[] |
| ^taint[html-typo;<<]<HR> | ^testdom3[] |
| $t[^table:load[/test.cfg]] | #^testdom2[] |
| ^process[@b[] | #^testdom1[] |
| f | #^testdom0[] |
| ] | OK |
| ^b[]<BR> | |
| @testdom3[] | |
| ^$t.a=$t.a<BR> | $dom[^dom::load[test.xml]] |
| $dom[^dom.xslt[test.xsl;$.param1(48)]] | |
| ^$request:uri=$request:uri<BR> | $dom[^dom.xslt[test.xsl;$.param1(48)]] |
| ^$env:PATH_INFO=$env:PATH_INFO<BR> | |
| ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR> | @testdom2[] |
| $dom[^dom::load[test.xml]] | |
| ^rem{ | #^dom.save[$.encoding[windows-1251];write.xml] |
| $response:body[] | #^dom.save[;write.xml] |
| $response:location[http://parser3/123] | ^dom.save[$.encoding[windows-1251] $.method[xml];write.xml] |
| } | ^dom.save[$.encoding[windows-1251] $.method[html];write.html] |
| ^dom.save[$.encoding[windows-1251] $.method[text];write.txt] | |
| <HR> | @testdom1[] |
| ^^auto_test[]:<BR> | $dom[^dom::load[test.xml]] |
| <ol> | $dom[^dom.xslt[test.xsl;$.param1(48)]] |
| ^auto_test[] | $response:body[^dom.file[windows-1251]] |
| </ol> | |
| <HR> | @testdom0[] |
| $dom[^dom::load[test.xml]] | |
| ^${cookie:גמע}=${cookie:גמע}?<BR> | ^dom.save[windows-1251;write.xml] |
| ^$request:query=$request:query<BR> | ^dom.string[windows-1251] |
| ^$request:uri=$request:uri<BR> | $פאיכ[^dom.file[windows-1251]] |
| ^פאיכ.save[binary;writefile.xml] | |
| <form method=post> | $response:body[$פאיכ] |
| <table border=1 width=250><tr><td>$form:name</td></tr></table> | OK |
| <textarea name=name rows=5 cols=40>^untaint[html]{^default[$form:name;םו חםא]}</textarea><BR> | |
| <input type=submit> | |
| </form> | |
| @default[test;def] | |
| $result[^if(^test.length[]){$test}{$def}] | |
| @exception[origin;source;comment;type;code] | |
| <body bgcolor=black> | |
| <font color=white> | |
| ERROR: | |
| ^if(def $source){$origin '$source'} | |
| ${comment}. | |
| ^if(def $type){type=$type} | |
| ^if(def $code){code=$code} | |
| @auto_test[] | |
| ^BASE.auto_test[] | |
| <li>$request:uri | |