Project

General

Profile

Bug #4301

sessionid in the URL creates end-user difficulty

Added by Oliver Soong about 10 years ago. Updated about 10 years ago.

Status:
New
Priority:
Normal
Category:
metacat
Target version:
Start date:
08/10/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4301

Description

Using a plain URL, one cannot access datasets that require authentication. Alternatively, a link of the form http://knb.ecoinformatics.org/knb/metacat?action=read&qformat=knb&docid=judithk.594 will function properly when authenticated, although this form is not actually presented in metacat. However, attempting to view the metadata for any of the included data tables will insert a &sessionid= with no value, which causes an error as I think this overrides the (correctly authenticated) value that would otherwise have been passed.

Perversely enough, at the top of any data package is a printed URL of the form http://knb.ecoinformatics.org/knb/metacat/judithk.594.26/knb, even though the actual link is http://knb.ecoinformatics.org/knb/metacat?action=read&qformat=knb&sessionid=________________________________&docid=judithk.594.26 with the actual sessionid embedded in the URL. I think it would be safer and more robust if that sessionid were not explicitly inserted anywhere. From what I recall and have been told, everything should function as intended by simply removing the sessionid from the various URLs.

History

#1 Updated by Oliver Soong about 10 years ago

Oh, this is a small but frustrating UI enhancement thing that doesn't involve any of metacat's underlying functionality, so I'm lowering the priority.

#2 Updated by Matt Jones about 10 years ago

Plus, the new RESTful URL style was created specifically to eliminate the problems with search engines ignorig the query string in metacat URLs. So the 'ld' url format should be deprecated once we finish making access control work on the new RESTful URL format.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 4301

Also available in: Atom PDF