Tcl Source Code

View Ticket
Login
Ticket UUID: bc432269b74e9b246bf01f354714fed47cb227ed
Title: Bugfix: http fails in a safe interpreter
Type: Patch Version: 8.6.6
Submitter: kjnash Created on: 2017-04-14 19:05:30
Subsystem: 29. http Package Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2017-04-18 19:03:23
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2017-04-18 19:03:23
Description:
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.
User Comments: jan.nijtmans added on 2017-04-18 19:03:23:
committed to core-8-6-branch and trunk. Thanks!

Attachments: