Closed Bug 175949 Opened 22 years ago Closed 19 years ago

URL with login/password gives error message

Categories

(SeaMonkey :: Location Bar, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: rmcgonegal, Assigned: hewitt)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016

The following URL, which works on IE6, generates an error on Mozilla

http://livelink.rcgit.com/livelink/livelink.exe?func=LL.login&username=myname&password=mypassword&NextURL=%2Flivelink%2Flivelink%2Eexe%3Ffunc%3Ddoc%2EViewdoc%26nodeId%3D24822

Livelink Error:

Error logging in.

[Invalid username/password specified.] 

This URL is generated by a javascript program, the specific call to which was
javascript:livelink_jump('24822','Doc','View','main')

function livelink_jump(nodeID, typeDoc, funcType, targetFrame)
//
//	nodeID is the Livelink nodeID for the file
//	typeDoc is the document extension
//	funcType is View, Fetch, etc
//	targetFrame is the name of the frame assigned with <frame name="header">
//	
	{
	var viewStr =
"http://livelink.rcgit.com/livelink/livelink.exe?func=LL.login&amp;username=MyLoginName&amp;password=MyPassword&amp;NextURL=%2Flivelink%2Flivelink%2Eexe%3Ffunc%3Ddoc%2EViewdoc%26nodeId%3D";
	var fetchStr =
"http://livelink.rcgit.com/livelink/livelink.exe?func=LL.login&amp;username=MyLoginName&amp;password=MyPassword&amp;NextURL=%2Flivelink%2Flivelink%2Eexe%3Ffunc%3Ddoc%2EFetch%26nodeId%3D";
	var loginStr = "http://livelink.rcgit.com/livelink/livelink.exe?func=LL.logout";
	var modifyStr =
"http://livelink.rcgit.com/livelink/livelink.exe?func=doc.ViewDoc&amp;nodeId=";
	var discussionStr =
"http://livelink.rcgit.com/livelink/livelink.exe?func=LL.login&username=MyLoginName&password=MyPassword&NextURL=%2Flivelink%2Flivelink%2Eexe%3Ffunc%3Dll%26objId%3D";
	var discussionEnd = "%26objAction%3Dview%26sort%3Dname";
	var taskStr =
"http://livelink.rcgit.com/livelink/livelink.exe?func=LL.login&username=MyLoginName&password=MyPassword&NextURL=%2Flivelink%2Flivelink%2Eexe%3Ffunc%3Dll%26objId%3D";
	var taskEnd = "%26objAction%3DBrowseTaskList";
	
	switch(funcType) { 
	case "view": 
	case "View": 
	case "VIEW": 
		url = viewStr + nodeID; 
		if(typeDoc=="XLS") url = fetchStr + nodeID;
		if(typeDoc=="xls") url = fetchStr + nodeID;
		if(typeDoc=="Xls") url = fetchStr + nodeID;
		if(typeDoc=="PDF") url = fetchStr + nodeID;
		if(typeDoc=="pdf") url = fetchStr + nodeID;
		if(typeDoc=="Pdf") url = fetchStr + nodeID;
		if(typeDoc=="MPP") url = fetchStr + nodeID; 
		if(typeDoc=="mpp") url = fetchStr + nodeID; 
		if(typeDoc=="Mpp") url = fetchStr + nodeID; 
		break;
	case "fetch": 	
	case "Fetch":  
	case "FETCH": 
		url = fetchStr + nodeID; 
		break;
	case "login": 
	case "Login": 
	case "LOGIN": 
		url = loginStr; 
		break; 
	case "Modify": 
	case "modify": 
	case "MODIFY": 
		url = modifyStr + nodeID; 
		break; 
	default: 
		url = viewStr + nodeID; 
		break; 
	}; 
	if(typeDoc=="FAQ") url = discussionStr + nodeID + discussionEnd; 
	if(typeDoc=="faq") url = discussionStr + nodeID + discussionEnd; 
	if(typeDoc=="Faq") url = discussionStr + nodeID + discussionEnd; 
	if(typeDoc=="ACT") url = taskStr + nodeID + taskEnd; 
	if(typeDoc=="act") url = taskStr + nodeID + taskEnd; 
	if(typeDoc=="Act") url = taskStr + nodeID + taskEnd; 
	
//	alert("starting url " + url);
//	target = window.parent.frames[1].location.replace(url);	// asks for login
//	window.parent.frames[1].location.href = url;
//	window.location.href = url;
	target = window.open(url);	// opens new window 
} 


Reproducible: Always

Steps to Reproduce:
1. Open website with URL referencing javascript progrsm
2. click on URL
3.

Actual Results:  
Get error message from Livelink ( a document management program) in a separate
window

Expected Results:  
In this particular case brought up a MS Word document in a separate window
Both IE6 and Mozilla 1.7 give the same error

Livelink Error:
Error logging in.
[Invalid username/password specified.] 
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.