Hi there, Evaluating XMLRPC package on OpenACS, I found an error of invalid command name, related to the old proc htmlencode, from AOLServer. The error happens deep in the source code of OACS core. I was able to "grep" references of htmlecode in the source code, in acs-api-documentation-procs.
grep -R "ns_htmlencode" packages/ packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl: return "<a href=\"[ns_htmlencode [api_proc_url $proc]]\">$proc</a>" grep: packages/videos/www/.#create-tag.tcl: No such file or directory What would be the substitute for htmlencode in the scenario? Best wishes, Iuri [31/Mar/2017:22:24:34][11947.b51c7b70][-conn:evex:1-] Notice: checking entry <0.0.0.0> from host_node_map -> [31/Mar/2017:22:24:34][11947.b51c7b70][-conn:evex:1-] Warning: ignore untrusted host header field: '0.0.0.0:8070' [31/Mar/2017:22:24:34][11947.b51c7b70][-conn:evex:1-] Notice: ignore non-existing or untrusted host header, fall back to <evex.co> [31/Mar/2017:22:24:39][11947.aebffb70][::throttle] Notice: === turn anonymous user from 127.0.0.1 into authenticated user 698 [31/Mar/2017:22:24:39][11947.aebffb70][::throttle] Notice: UNSET timestamp(127.0.0.1) turned into timestamp(698) [31/Mar/2017:22:24:39][11947.b51c7b70][-conn:evex:1-] Notice: checking entry <0.0.0.0> from host_node_map -> [31/Mar/2017:22:24:39][11947.b51c7b70][-conn:evex:1-] Warning: ignore untrusted host header field: '0.0.0.0:8444' [31/Mar/2017:22:24:39][11947.b51c7b70][-conn:evex:1-] Notice: ignore non-existing or untrusted host header, fall back to <evex.co> [31/Mar/2017:22:24:39][11947.b51c7b70][-conn:evex:1-] Notice: checking entry <0.0.0.0> from host_node_map -> [31/Mar/2017:22:24:39][11947.b51c7b70][-conn:evex:1-] Warning: ignore untrusted host header field: '0.0.0.0:8444' [31/Mar/2017:22:24:39][11947.b51c7b70][-conn:evex:1-] Notice: ignore non-existing or untrusted host header, fall back to <evex.co> [31/Mar/2017:22:24:39][11947.b51c7b70][-conn:evex:1-] Error: invalid command name "ns_htmlencode" while executing "ns_htmlencode [api_proc_url $proc]" (procedure "api_proc_link" line 2) invoked from within "api_proc_link $proc_name" ("foreach" body line 8) invoked from within "foreach proc_name [xmlrpc::list_methods] { if { $server_enabled_p } { set enabled_p [ad_decode [nsv_get xmlrpc_procs $proc_name] 0 No Yes]..." ("uplevel" body line 20) invoked from within "uplevel { # /packages/xml-rpc/www/admin/index.tcl ad_page_contract { Front page of admin @author Vinod Kurup [vi...@kurup.com] @cre..." (procedure "code::tcl::/var/www/evex/packages/xml-rpc/www/admin/index" line 2) invoked from within "code::tcl::$__adp_stub" ("uplevel" body line 12) invoked from within "uplevel { if { [file exists $__adp_stub.tcl] } { # ensure that data source preparation procedure exists and is up-to-date ..." (procedure "adp_prepare" line 2) invoked from within "adp_prepare" invoked from within "template::adp_parse [file rootname [ad_conn file]] {}" (procedure "adp_parse_ad_conn_file" line 6) invoked from within "$handler" ("uplevel" body line 2) invoked from within "uplevel $code" invoked from within "ad_try { $handler } ad_script_abort val { # do nothing }" invoked from within "rp_serve_concrete_file [ad_conn file]" (procedure "::nsf::procs::rp_serve_abstract_file" line 60) invoked from within "rp_serve_abstract_file "$root/$extra_url"" ("uplevel" body line 2) invoked from within "uplevel $code" invoked from within "ad_try { rp_serve_abstract_file "$root/$extra_url" set tcl_url2file([ad_conn url]) [ad_conn file] set ..." called from rp_handler GET https://evex.co/RPC2/admin/? referred by 'https://evex.co/RPC2/' peer 127.0.0.1 user_id 698 X-Forwarded-For: 179.34.135.38 Host: 0.0.0.0:8444 Connection: close Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36 Referer: https://evex.co/RPC2/ Accept-Encoding: gzip, deflate, sdch Accept-Language: en-US,en;q=0.8 Cookie: fbm_419233248412711=base_domain=.evex.co; user_session_id="0"; fbsr_419233248412711=M8S9nAlmHPqSa7bnyRgjay_frBRqPDNjb0gOR54n98w.eyJhbGdvcml0aG0iOiJITUFDLVNIQTI1NiIsImNvZGUiOiJBUUJPMjd1elFhUHFibGtINXZZX25kNEpVU2Rtcm5URFNYY0R5Z01uOTA3WWtkTEJvWUMtYmRCWURpNlFEQVhEMnBLOGM0dVcyVmFjOXRTNDBuaDZlTUY5WWNwUXhaR1o0dnNGelQzOVVSbWFHNl80OXhka1VBUE9pdWUyTnp2Q3h2ZWpqd2Jud1U3YmNCa0g5cTdDSkR1TmJPZXo0NmE0SElWUTVBTFJ0YjNnVmczRDRYSmFOU19KSXVYZWU3aDFiY0tWSThJdG1zakF6N3Y3Q0tJb181VDJlbTA0Y0JQcHdPcXp4NTRuS2lQbDR4dVI1NUNLdFBoOHFLN1V2cERkbXd5ajlYOGpIV29FM3llUXB6RmJzb0U2Ry1mY3VjanBueUc0TGU0QVVkTGhoNlRhWUtJSmFCVjR6ZTNjallsTnZ3SHNwRVNGNkZGRkxkSjlrRnN3Nzl1UCIsImlzc3VlZF9hdCI6MTQ5MTAxMDgwMiwidXNlcl9pZCI6IjEwMTU1OTc1MjA3ODYzNjQyIn0; ad_user_login="698%252c1491010806%252cADE5742B6%252c1%2b%257b507%2b0%2bDE547D7B9CBBB0B6E8DE6974E023E0439A9E040E%257d"; ad_session_id="8020001%252c698%252c1%252c1491013479%2b%257b401%2b1491014679%2b649A0D2FAFEBB3FC8221B6205ABE12F2BFFA1EA3%257d" ^C evex@iurix:/var/www/evex$ grep -R "ns_htmlencode" packages/xml-rpc/ evex@iurix:/var/www/evex$ grep -R "ns_htmlencode" packages/evex-core/ evex@iurix:/var/www/evex$ em ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel