CVS log for loncom/xml/lontexconvert.pm

[BACK] Up to [LON-CAPA] / loncom / xml

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN
Current tag: version_2_7_99_1


Revision 1.94: download - view: text, markup, annotated - select for diffs
Fri Jan 2 01:22:33 2009 UTC (15 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_7_99_1
Diff to previous 1.93: preferred, colored
Changes since revision 1.93: +40 -16 lines
- 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).

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>