I have 2 files - test.tcl and blank-master.tcl
test.tcl
ad_page_contract {
} {
x:notnull,integer
}
ns_log Notice INSIDETEST
ad_return_template
blank-master.tcl
ad_page_contract {
} {
{x ""}
}
ns_log Notice BLANKMASTER
How might I pass value of x into blank-master in usual circumstances such as test?x=1 and test?x=a (this works;returns error) and also catch invalid urls such as test?x=1017%3C/p%3E%0D%0A%3Cp%3E (this causes server error).