Up to [LON-CAPA] / loncom / xml
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: version_2_7_99_1
- Use URI::Escape to escape the TeX string passed in the query string to mimetex.cgi. - Replace use of localhost.localdomain with hostname from &Apache::lonnet::hostname() for lonHostID. - Replace use of LWP with lower level IO::Socket::SSL and IO::Socket::INET for HEAD request for Vertical-Align from headers. (mimetex.cgi first pass). - Reason: mimetex_converted() can be called inside safespace (e.g., by &xmlparse('<m>stuff</m>' in a script block) - In this context call to open() - line 144 of HTTP/Request/Common.pm (called by $ua->head()) is trapped in safespace resulting in a run time error. - &Apache::lonxml::alarm() now used for timeouts. - Timeout args for IO::Socket::SSL/INETcan not be used because of dependency on fileno command at line 61 of IO/Select.pm (masked in safespace with run time error).