Menu

#9 Action links (D/E) incorrect from root

open
nobody
None
9
2001-07-06
2001-04-16
No

I have several problems related to how the action
links are displayed by cvs-web/read/cvswebread.cgi as
follows:

When in the root directory, if I have a directory
called dirname the link to download that directory
will appear as:

http://blah.com/cvs-web/cvswebedit.cgi///dirname/?
edit=download-dir-page

The triple slash is messing up the download
functionality. You can see that when cvswebedit.cgi
receives the directory to be download it sees it as:

//dirname

The tar file will be empty because it is unable to
check any such directory out of cvs. If I correct the
URL after I have clicked the download to remove the
redundant slashes the download functionality works.

Perhaps I have a configuration error, but it would
seem to be in the way the changeDirectory function
builds the $where variable.

The download link from a subdirectory also has
problems:

dirname/subdirname

this link will appear as:

http://blah.com/cvs-
web/cvswebedit.cgi/dirname//subdirname/?edit=download-
dir-page

this generates the same problem such that I am unable
to download any directories using the link. I must
click the link and then edit the URL to get the
correct contents in the tar file.

Secondly, I'm having similar problems with the Edit
link, but only from the root directory. If I have a
file in the root dir the edit link looks like:

http://blah.com/cvs-web/edit/cvswebedit.cgi//New_File?
edit=start

You can see the double slash after cvswebedit.cgi.
Once the link opens I can correct the URL and I'm able
to edit the file just fine. Subdirectories do not have
this problem and I'm able to edit correctly.

Thank you,

David Ethell
dethell@sscdinc.com

Discussion

  • Piotr Kaminski

    Piotr Kaminski - 2001-05-02
    • priority: 5 --> 9
    • assigned_to: nobody --> pitek
     
  • Kumar M. Deepak

    Kumar M. Deepak - 2001-06-01

    Logged In: YES
    user_id=147044

    Any patches for these problem. If so please let me know.

    Deepak Kumar
    kmdeepak@operamail.com

     
  • David Ethell

    David Ethell - 2001-06-14

    Logged In: YES
    user_id=152930

    I submitted a patch that fixes part of it. I think the
    patch number is: 416541. It corrects downloading from a
    subdirectory. Trying to download from the topmost level
    still doesn't work with this patch. There is one too many
    slashes.

     
  • Piotr Kaminski

    Piotr Kaminski - 2001-07-06
    • assigned_to: pitek --> nobody
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.