Defect #14429

Basic API Authentication does not work with http://user:pass@URL

Added by Genadi Saltikov almost 7 years ago.

Status:NewStart date:
Priority:HighDue date:
Assignee:-% Done:


Category:Accounts / authentication
Target version:-
Resolution: Affected version:2.3.1


When posting an Issue using the API, for example to this URL:

it fails on line: authenticate_with_http_basic do |username, password| of the file app/controllers/application_controller.rb
However, when I test with a Authorization header added, with user encoded as explained in:
EG: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

It works.

I believe this is a bug, and for the moment I do now know how to fix this in Ruby (not my language).
However I am trying to use the fulmo plugin, and would rather not be forced to customize it to send auth data using Headers, as I'd have to create a whole new plugin.

Also available in: Atom PDF