rombert / ereviewboard

A mylyn-based Eclipse integration for Review Board
46 stars 31 forks source link

302 Redirects are not honored by REST API requests #106

Open lucianocheng opened 12 years ago

lucianocheng commented 12 years ago

If a user has his server at http://reviewboard.mycompany.com and that issues a 302 redirect to https://reviewboard.mycompany.com, this redirect returns a "Invalid JSON error" and shows a 302 HTML page rather than following the redirect.

rombert commented 12 years ago

Your report is correct. On the other hand I wouldn't want to follow redirects for all requests but I'd allow it for when the repository is validated.

The Jira connector pops up a dialog when this happens and asks the user which location to use.