RESTClient
RESTClient copied to clipboard
No Request with long Authentication
I have to test a Basic Auth protected system. Both username and password contain 38 characters. If I enter my authentication data and press "submit" nothing happens. If I remove some characters, the request starts as aspected.
Is there a maximum lenght for username + password? If it is, could you increase it?
This is real as of today. I enter a long login name like "ck_5019ea4aba3865bfe6bc473503360359" and no request gets sent. Just deleting some X number of characters makes the request go.
Hi All, I have the same issue. The problem probably occurs because the wrong base64 encoding is used. It seems that the encoded string is split up at 76 characters (which is common for base64 encoding). But the HTTP RFC tells us that this should not be done for Basic authentication:
http://tools.ietf.org/html/rfc1945#section-11.1
As a workaround you can copy the encoded credentials and enter a custom request header with name "Authorization" and as value "Basic [encoded credentials]". Don't forget to remove the whitespace characters from the encoded credentials :)