Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2017-04-18
19:03 • Closed ticket [bc432269b7]: Bugfix: http fails in a safe interpreter plus 7 ... artifact: c6692c21d2 user: jan.nijtmans
19:01
Fix [bc432269b74e9b246bf01f354714fed47cb227ed|bc432269]: http fails in a safe interpreter check-in: 4b43637b77 user: jan.nijtmans tags: core-8-6-branch
2017-04-14
19:08 • Add attachment http-patch-for-71e6ac46c0.patch to ticket [bc432269b74e9... artifact: ba85db54b6 user: kjnash
19:05 • New ticket [bc432269b7] Bugfix: http fails in a safe interpreter. artifact: 37696d329c user: kjnash

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.