Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Bugfix: http fails in a safe interpreter

Closed / Fixedbc432269b74e9b246bf01f354714fed47cb227edCreated 10 years agoUpdated 10 years ago
Descriptionplain2017-04-14 19:05:30
The http package generates a User-Agent string using $::tcl_platform(os) and $::tcl_platform(osVersion).

In a safe interpreter, these array elements are not available, and so the package cannot load.  This patch provides an alternative string.
Referenced by1
jan.nijtmansplain2017-04-18 19:03:23
committed to core-8-6-branch and trunk. Thanks!
Log in (anonymous is fine) to add a comment.