Public bug reported:

Binary package hint: websec

If htmldigest id enabled, websec produce error "print() on unopened
filehandle OUTPAGE at /usr/bin/websec line 193, <> line 784." and no
result is opened in browser.

Change UNLINK to 0 in next section of /usr/bin/websec

if (@htmldigest) {                                                              
                                                                                
                                     
    ($OUTPAGE, $pagename) = tempfile(DIR=>"$base", UNLINK=>0, SUFFIX=>".html"); 
                                                                                
                                     
    print OUTPAGE "<HTML><BODY>The contents of the following URLs has 
changed:<P><P>";                                                                
                                               
    foreach (@htmldigest) { print OUTPAGE "$_<P>\n"; }                          
                                                                                
                                     
    print OUTPAGE "<P></BODY></HTML>";                                          
                                                                                
                                     
    close(OUTPAGE);                                                             
                                                                                
                                     
                                                                                
                                                                                
                                     
    &ShowDocument( $program, $pagename);                                        
                                                                                
                                     
}

** Affects: websec (Ubuntu)
     Importance: Undecided
         Status: New

-- 
error writing to OUTPAGE if enabled htmldigest
https://bugs.launchpad.net/bugs/220671
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to