Skip to content
Tcl Source Code View Ticket
Login

View Ticket

http::geturl evaluates command callback in http namespace

Closed / Fixed2841176fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 4 years ago
Descriptionplain2009-08-20 15:45:21
When using [http::geturl $url -command status] the status proc in the global namespace never gets called. Presumably the http::status proc is executed instead.

It would be less surprising if the callback would be executed in the global namespace. Otherwise it should be mentioned in the docs that a fully qualified namespace path should be passed as the value of the -command argument.
kjnashplain2022-09-10 11:54:40
Fixed in commit [912031d94e], branch http-bugfixes-2022H2.
Log in (anonymous is fine) to add a comment.