[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

1.4.28 --- permalink screws up DB login string

For some time I've been using the "permalink" button as way to reload/redo a
query. After a few uses (somewhere between 2 and 4), it will fail and put up
an HTTP Auth box.  All windows/tabs are now screwed and I have to login again
from scratch.

I caught this in the logs today:

==> /var/log/apache2/error.log <==
DBI connect('dbname="sswbookssswbooks"','mcr',...) failed: missing "=" after
"mcr'" in connection info string at LedgerSMB/DBH.pm line 50.
Died at LedgerSMB/Auth.pm line 105.
Compilation failed in require at /usr/share/ledgersmb/drafts.pl line 8.

My datbaase is called "sswbooks", so it looks like something in the permalink
handling causes the dbname= to be repeated.  Maybe it's in the link

2607:f0b0:f:b:219:d2ff:fec0:9f1e - - [25/Jun/2016:00:18:00 +0000] "POST
/ledgersmb/drafts.pl HTTP/1.1" 200 1712
"Mozilla/5.0 (X11; Linux i686 on x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

It doesn't look like it, unless the company=sswbooks is getting appended to
something that is already in the session?

]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     ..hidden..  http://www.sandelman.ca/        |   ruby on rails    [

Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
Ledger-smb-devel mailing list