Hi guys, I noticed in openca-0.9.2-RC6 that if you add trailing
whitespace after the line
ADDITIONAL_REQUEST_ATTRIBUTES   "requestercn" "blah" "whatever"
In a pub.conf file, openca craps out (it thinks there's an extra
option).  

This is because the config file loader doesn't cut off whitespace at the
end of a list.

In the file Configuration.pm on line 181 there is:
## Delete remaining Spaces
$line =~ s/^[\s]*//;

I found that copying that same line to the end of the while loop (line
193) fixes the problem.

Someone else probably has a more elegant way of doing this fix, so I
won't bother with a proper patch.

Cheers,

Damon





-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to