Forum OpenACS Development: openacs.org api-doc bug

Collapse
Posted by Jim Lynch on
Redirction to external hosts is not allowed.
    while executing
"error "Redirction to external hosts is not allowed.""
    (procedure "ad_returnredirect" line 13)
    invoked from within
"ad_returnredirect "$tcl_docs_root$relative_url""
    ("uplevel" body line 31)

when going to

https://openacs.org/api-doc/tcl-doc-search?tcl_proc=open

since $tcl_docs_root will most likely be outside openacs.org 
(as it is now), ad_returnredirect needs a switch that allows
redirect to somewhere outside openacs.
Collapse
Posted by Torben Brosten on
ad_returnredirect has a switch.

https://openacs.org/api-doc/proc-view?proc=ad_returnredirect

It just needs to be added to that page..

Collapse
Posted by Jim Lynch on
right, that's what I meant... I've mentioned this to people, even found the exact line and -even- produced a diff... all these things were fairly easy to do. Anyone who knows a little about the toolkit can do that much, but it will take someone with write access to the file in question to make the repair.
Collapse
Posted by Gustaf Neumann on
fixed it on openacs.org and in cvs head.

-gustaf neumann

Collapse
Posted by Jim Lynch on
Thanks Gustaf

-Jim