Bug 69023 - http basic authentication broken in htdig-3.2.0b4-011302
http basic authentication broken in htdig-3.2.0b4-011302
Product: Red Hat Linux
Classification: Retired
Component: htdig (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Knirsch
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2002-07-17 01:55 EDT by F Harvell
Modified: 2015-03-04 20:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-09-02 08:50:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
pretested patch for authentication problem (516 bytes, patch)
2002-08-01 19:56 EDT, Lloyd Parkes
no flags Details | Diff

  None (edit)
Description F Harvell 2002-07-17 01:55:25 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a) Gecko/20020610

Description of problem:
The basic authentication code is broken in the htdig-3.2.0b4-011302 version of
htdig included in 7.3 (and currently available as a security update for other

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Set up a website with basic authentication.
2.Add an authorization: <username>:<password> line to htdig.conf
3.Run rundig.

Actual Results:  rundig (actually htdig) doesn't dig the protected pages.

Expected Results:  rundig to load and index the protected pages.

Additional info:

I found this problem described at:



I did some more digging on the issue of broken basic auth
in the htdig-3.2.0b4-011302 snapshot.

> According to Roman Maeder:
> > > Well, what would you consider a recent code change?  Or more specifically,
> > > what was the last version that you had running on your system?  The HTTP
> > > > the one installed and known to work is htdig-3.2.0b4-111801.
> > I didn't test authentication with htdig-3.2.0b4-122301, because it
> > had other problems.
> > Well, that's strange.  I looked through the recent changes to
> htnet/HtHTTP.cc since late November, and I don't see anything there that
> would break basic authentication.  The only thing even remotely related
> to it would be the addition of "const" keywords on lines 919 and 934 of
> that file (the SetCredentials method), but I don't see what harm that
> would cause.

looks like this change broke it after all, because it was not done
in the base class as well, so the method was no longer overridden, but
a different one was defined, but the inherited one was used.
Comment 1 Lloyd Parkes 2002-08-01 19:56:47 EDT
Created attachment 68404 [details]
pretested patch for authentication problem
Comment 2 Lloyd Parkes 2002-08-04 17:26:21 EDT
This was fixed in the htdig CVS source repository on Jan 18, 2002.
Comment 3 Gilles Detillieux 2002-08-09 14:21:22 EDT
I'm one of the ht://Dig developers.  We get a lot of complaints
about this problem on the htdig-general mailing list.  Even though
the bug existed only for a week in the CVS code tree, it's been
"immortalized" by Red Hat.  That's the problem with basing a
standard package on a pre-release snapshot of a beta version.

We still recommend to users that they stick to the 3.1.6 stable
release of ht://Dig, unless they really need the features of the
3.2 betas (like phrase searching).  However, if Red Hat really
would prefer to stick with a beta that's still under development,
I'd recommend grabbing the upcoming Aug. 11, 2002 snapshot,
which fixes quite a few problems in addition to the one with
basic authentication.

By the way, this problem isn't just in 7.3, but also the update
rpms of htdig for 7.2 and 7.1, also based on the buggy 011302
Comment 4 Phil Knirsch 2002-12-10 12:19:45 EST
I've updated our htdig packages to the latest snapshot of 20021103.

If you could give it a shot and verify that it fixes the problem i'd greately
appreciate it.

Read ya, Phil
Comment 5 Phil Knirsch 2003-09-02 08:50:09 EDT
No response in over 1 year, assume this bug to be closed.

Read ya, Phil

Note You need to log in before you can comment on or make changes to this bug.