| Summary: | [web connector] Login request URL and password with & | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | samuel Liard <samuel> | ||||
| Component: | Mylyn | Assignee: | Eugene Kuleshov <ekuleshov> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 2.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
I'll look into that. In a mean time, as a workaround you can use GET method and replace & with & in your password. Please disregard my previous comment. The workaround would be to use %26 instead of & inside password or any other field. Anyways, I've committed fix to CVS, please reopen this issue if you still see this after next dev build (should be released this Friday). Created attachment 73046 [details]
mylyn/context/zip
|
To create postRequest in WebRepositoryConnector.loginRequestIfNeeded(), you write : String[] requestParams = loginRequestUrl.substring(n + 1).split("&"); But if a password content a '&' that didn't work (where ever if we use &) For example : Login Request URL = ${serverUrl}/account/login.php?return_to=&form_loginname=${userId}&form_pw=${password}&login=Login&stay_in_ssl=1 and POST mode login : mylogin pass : p&ass so real url can be : http://www.example.com/account/login.php?return_to=&form_loginname=mylogin&form_pw=p&ass&login=Login&stay_in_ssl=1 In this case Post request parameter are wrong.