<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/info2html/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/info2html/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/info2html/bugs/</id><updated>2022-12-27T12:13:48.894000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#6 Some links with parentheses not parsed correctly</title><link href="https://sourceforge.net/p/info2html/bugs/6/?limit=25#b8fc" rel="alternate"/><published>2022-12-27T12:13:48.894000Z</published><updated>2022-12-27T12:13:48.894000Z</updated><author><name>Paul Worrall</name><uri>https://sourceforge.net/u/silver-saucepan/</uri></author><id>https://sourceforge.netb3071dc071c14e949bae5a07de9cd959845e3450</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a class="" href="https://info2html.sourceforge.net/cgi-bin/info2html-demo/info2html?(libc.info.gz)Parsing%2520of%2520Floats" rel="nofollow"&gt;Working link&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Some links with parentheses not parsed correctly</title><link href="https://sourceforge.net/p/info2html/bugs/6/" rel="alternate"/><published>2022-12-27T12:10:05.724000Z</published><updated>2022-12-27T12:10:05.724000Z</updated><author><name>Paul Worrall</name><uri>https://sourceforge.net/u/silver-saucepan/</uri></author><id>https://sourceforge.nete3ea607fa2a2f644bafa89c5f820956293d7fbce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;e.g. the link  '(libc)Parsing of Floats' in &lt;a class="" href="https://info2html.sourceforge.net/cgi-bin/info2html-demo/info2html?(coreutils.info.gz)Floating%2520point" rel="nofollow"&gt;Coreutils: 2.4 Floating point numbers&lt;/a&gt; fails although the page is accessible directly via: &lt;a class="" href="https://info2html.sourceforge.net/cgi-bin/info2html-demo/info2html?(libc.info.gz)Parsing%2520of%2520Floats" rel="nofollow"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>&amp;DirnameCheck requires '' in @INFODIR</title><link href="https://sourceforge.net/p/info2html/bugs/5/" rel="alternate"/><published>2010-11-13T00:19:20Z</published><updated>2010-11-13T00:19:20Z</updated><author><name>Christopher Yeleighton</name><uri>https://sourceforge.net/u/yecril71pl/</uri></author><id>https://sourceforge.net44d2495761ac2556d4554a868f44c12bd3044fb7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The most obvious invocation &lt;/p&gt;
&lt;p&gt;./info2html '(binutils)Top' &amp;gt;/dev/null&lt;/p&gt;
&lt;p&gt;causes an error message 'could not be opened for reading'.  In other words, it requires an explicit path.&lt;/p&gt;
&lt;p&gt;To fix this, add '' to @INFODIR in info2html.conf.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>pages invalid</title><link href="https://sourceforge.net/p/info2html/bugs/4/" rel="alternate"/><published>2010-05-19T20:56:10Z</published><updated>2010-05-19T20:56:10Z</updated><author><name>Christopher Yeleighton</name><uri>https://sourceforge.net/u/yecril71pl/</uri></author><id>https://sourceforge.net68c523235f9c0c06fa68c1129a8b5a40f66a73a3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The pages produced by info2html are invalid.  First of all, they have no DOCTYPE, which makes them render in quirks mode.  Moreover, the ALT attribute for images is missing.&lt;br /&gt;
See e.g. &amp;lt;URL:http://validator.w3.org/check?uri=http://info2html.sourceforge.net/cgi-bin/info2html-demo/info2html?(texinfo)Overview&amp;amp;charset=(detect+automatically)&amp;amp;doctype=Inline&amp;amp;group=0&amp;gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>$* no longer available</title><link href="https://sourceforge.net/p/info2html/bugs/3/" rel="alternate"/><published>2008-09-17T03:08:21Z</published><updated>2008-09-17T03:08:21Z</updated><author><name>Michael James</name><uri>https://sourceforge.net/u/treleven/</uri></author><id>https://sourceforge.net97f96515b80c201ded31e3c7af0d49dd7fdd71b0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The subroutine "ParsCrossRefs"  uses $* to get multi-line matching.  This has been deprecated for ages and in no longer available in the current perl 5.10.&lt;/p&gt;
&lt;p&gt;Without any understanding of the workings of  "sub ParsCrossRefs" I took out  "$*"  and added the  "m"  parameter to all matches. It seems to work, I've attached the new info2html file.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>bad links</title><link href="https://sourceforge.net/p/info2html/bugs/2/" rel="alternate"/><published>2007-04-19T10:02:56Z</published><updated>2007-04-19T10:02:56Z</updated><author><name>Hans</name><uri>https://sourceforge.net/u/hhalvors/</uri></author><id>https://sourceforge.neta9ff42939954a9b98af8b4d40fae42132686c6be</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;One of my directory links has the form:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://localhost/cgi-bin/info2html?\" rel="nofollow"&gt;http://localhost/cgi-bin/info2html?\&lt;/a&gt;(StumpWM)Top&lt;/p&gt;
&lt;p&gt;Clicking on this link gives an error: could not open the info file.  However, the following link is valid:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://localhost/cgi-bin/info2html?\" rel="nofollow"&gt;http://localhost/cgi-bin/info2html?\&lt;/a&gt;(stumpwm)Top&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Escaping/Deescaping is broken</title><link href="https://sourceforge.net/p/info2html/bugs/1/" rel="alternate"/><published>2007-01-10T23:48:14Z</published><updated>2007-01-10T23:48:14Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netd236f158a789db36f2d46b506407f774bfde5a8e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In MAIN the query string gets decoded twice. This is incorrect and will e.g. replace any '+' characters by spaces, effectively making the node string invalid. This can easily be seen when a link with a '+' in it is selected. The corresponding node will not be found.&lt;/p&gt;
&lt;p&gt;To fix this in MAIN simply replace:&lt;br /&gt;
...&lt;br /&gt;
$BaseInfoFile = &amp;amp;DeEscape($1);&lt;br /&gt;
$BaseInfoFile =~ s#\.\./##g;    # jonh 5/20/97 -- sanitize up-references&lt;br /&gt;
$NodeName     = &amp;amp;DeEscape($2);&lt;br /&gt;
...&lt;br /&gt;
with&lt;br /&gt;
...&lt;br /&gt;
$BaseInfoFile = $1;&lt;br /&gt;
$BaseInfoFile =~ s#\.\./##g;    # jonh 5/20/97 -- sanitize up-references&lt;br /&gt;
$NodeName     = $2;&lt;br /&gt;
...&lt;/p&gt;
&lt;p&gt;to avoid De-Escaping the QUERY_STRING twice.&lt;/p&gt;
&lt;p&gt;Also, Escape() and DeEscape() can be stripped down to be simple wrappers for the corresponding CGI functions.&lt;br /&gt;
Modify:&lt;br /&gt;
...&lt;br /&gt;
sub Escape{&lt;br /&gt;
local($Tag) = @_;&lt;br /&gt;
#-- escaping is not needed anymore  KG/28.6.94&lt;br /&gt;
$Tag =~ s/ /%20/g;           #  space&lt;br /&gt;
$Tag =~ s/\+/%AB/g;          #  +&lt;br /&gt;
#-- oh yes it is -- jonh 5/16/1997&lt;br /&gt;
#$Tag;&lt;br /&gt;
return CGI::escape($Tag);&lt;br /&gt;
}&lt;br /&gt;
...&lt;br /&gt;
to&lt;br /&gt;
...&lt;br /&gt;
sub Escape{&lt;br /&gt;
local($Tag) = @_;&lt;br /&gt;
return CGI::escape($Tag);&lt;br /&gt;
}&lt;br /&gt;
...&lt;/p&gt;
&lt;p&gt;and&lt;br /&gt;
...&lt;br /&gt;
sub DeEscape{&lt;br /&gt;
local($Tag) = @_;&lt;br /&gt;
#-- deescaping is not needed anymore. KG/28.6.94&lt;br /&gt;
$Tag =~ s/%AB/+/g;&lt;br /&gt;
$Tag =~ s/%20/ /g;&lt;br /&gt;
#-- oh yes it is -- jonh 5/16/1997&lt;br /&gt;
#$Tag;&lt;br /&gt;
return CGI::unescape($Tag);&lt;br /&gt;
}&lt;br /&gt;
...&lt;br /&gt;
to&lt;br /&gt;
...&lt;br /&gt;
sub DeEscape{&lt;br /&gt;
local($Tag) = @_;&lt;br /&gt;
return CGI::unescape($Tag);&lt;br /&gt;
}&lt;br /&gt;
...&lt;/p&gt;
&lt;p&gt;Note that using a %AB to encode/decode a '+' is wrong in the first place. It should be %2B.&lt;br /&gt;
Furthermore, it does not make much sense to pre-encode the string in Escape() and then encode it. This effectively encodes the '+' and the ' ' twice.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>