#44 genxref gets wrong config

v0.9.1
closed-fixed
genxref (49)
6
2004-07-15
2002-03-05
Malcolm Box
No

Using an lxr.conf file with two blocks, one
http://lon-xref/lxr and one http://lon-xref/lxr-new,
genxref would not complain for urls such as
http://lon-xref/lxr-wibble.

Instead, it appears to pick up the http://lon-xref/lxr
configuration.

Discussion

  • Malcolm Box

    Malcolm Box - 2002-03-05
    • milestone: 161102 --> v0.9.1
     
  • Malcolm Box

    Malcolm Box - 2002-09-13

    Logged In: YES
    user_id=215386

    Cause lies in config.pm, where the url is matched against
    the config root value. If one config root is a substring of
    another, then the wrong one will be picked up. E.g with
    http://example.com/lxr and
    http://example.com/lxr-development the first will always be
    selected.

    The obvious fix of adding $ to the regexp doesn't work,
    since the URL will include a script name (and possibly a
    path, e.g. for source).

     
  • Dave Brondsema

    Dave Brondsema - 2004-07-15
    • status: open --> closed-fixed
     
  • Dave Brondsema

    Dave Brondsema - 2004-07-15

    Logged In: YES
    user_id=341298

    fixed in cvs

     

Log in to post a comment.