Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 754 of 808  Not logged in ELOG logo
IDdown Date Icon Author Author Email Category OS ELOG Version Subject
  472   Fri Feb 13 21:50:59 2004 Smile Fergus Lynchflynch@alternativenetworks.com Linux | Windows | Mac OSXELOG V2.5.0Re: Behaviour of text when using "quote marks" in header fields
> Like this one ^^^ ???
> 
> I'm joking! I fixed the bug and updated the elogd server. Please find the new 
> version under CVS.
> 
> - Stefan

Blimey! That was quick!

Many thanks for amending this.  You'll be pleased to hear that my IT Operations  
Team think this is the best thing since sliced bread...its going to replace a 
blizzard of spreadsheets.

Cheers
Fergus
  471   Fri Feb 13 21:50:09 2004 Smile Stefan Rittstefan.ritt@psi.ch Linux2.5.0Re: segmentation fault
This problem has been fixed recently. The new code is

   /* special case: "Change %s" */
   if (strstr(orig, "Change ") && strcmp(orig, "Change %s") != 0) {
      sprintf(result, loc("Change %s"), orig + 7);
      return result;
   }

Alternatively you can get the updated version from CVS.

- Stefan
  470   Fri Feb 13 21:34:57 2004 Reply Stefan Rittstefan.ritt@psi.ch Linux | Windows | Mac OSXELOG V2.5.0Re: Behaviour of text when using "quote marks" in header fields
Like this one ^^^ ???

I'm joking! I fixed the bug and updated the elogd server. Please find the new 
version under CVS.

- Stefan
  469   Fri Feb 13 12:25:15 2004 Warning Heiko Scheith.scheit@mpi-hd.mpg.de Linux2.5.0-W -Wall options (using gcc)
Maybe consider using the options -W -Wall when compiling elogd.
There are several warning messages.
  468   Fri Feb 13 12:21:25 2004 Angy Heiko Scheith.scheit@mpi-hd.mpg.de Linux2.5.0elog (not elogd) submit does not work anymore
Somehow elog does not use the -s option (subdir) anymore,
resulting in a 'HTTP/1.1 404 Not Found' error.

For now I am using elog from version 2.3.9 together with elogd v2.5.0,
which seems to work OK.
  467   Fri Feb 13 12:18:19 2004 Angy Heiko Scheith.scheit@mpi-hd.mpg.de Linux2.5.0segmentation fault
Around line 2240 (in loc()) in elogd.c the following is written, 
which results in an infinite loop, since loc() recursively with
the same argument "Change %s".

   /* special case: "Change %s" */
   if (strstr(orig, "Change ")) {
      sprintf(result, loc("Change %s"), orig + 7);
      return result;
   }

For now I just commented these lines.
  466   Wed Feb 11 15:06:38 2004 Question Fergus Lynchflynch@alternativenetworks.com  ELOG V2.5.0Behaviour of text when using quote marks in header fields
Hi,

First off let me say what an excellent program, simple yet powerful...

I've noticed some erratic behaviour when using "quote marks" in header 
fields.  Basically all text to the right of a " disappears.  Try adding an 
entry with quote marks or replying to this post.

Presume this is a bug.

Keep up the good work

Fergus
  465   Wed Feb 4 12:00:14 2004 Reply Stefan Rittstefan.ritt@psi.chOtherLinux | Windows | Mac OSX | Other2.5.0Re: Javascript for Bookmark Link for one-click submission to elog
I find this script very nice. Indeed JavaScript can be very powerful to do such 
things. I added some JavaScript support to the elogd server itself. If one opens 
the "New" page like

http://localhost/demo/?cmd=New&js=test.js

then the JavaScript "test.js" (which has to be present in 
themes/default/test.js) gets inserted into the page header and executed. This 
can be used to add custom form validation, which is more powerful than the built 
in checking if required attributes are present.

Then I tried to redo the bookmark script with the new method. A server-side 
script has of course more space than just a bookmark. I started with a bookmark 
like:

javascript:window.open("http://localhost/demo/?cmd=New&js=test.js");

which even works on IE6. The script "test.js" contains:

function a()
{
  var d=opener.document;
  alert("test.js");
  alert(d.location.href);
  alert(d.getSelection());
}

a();

While the first alert() works, the others fail. It seems like the "opener" 
method does not correctly dereference the right window. If anybody has some 
idea, please let me know.

The new version of elogd which supports the "js=" command can be found here:

http://midas.psi.ch/cgi-bin/cvsweb/elog/src/elogd.c?rev=1.235
ELOG V3.1.5-3fb85fa6