Statping: http header - length restriction is to tide for token

Created on 17 May 2019  路  5Comments  路  Source: statping/statping

When I try to connect to an API with a token based security, the page comes to complain about exceeding the length of the field.

To Reproduce
Steps to reproduce the behavior:

  1. Go to create service page
  2. set a value for http headers: 'X-my-token-Key = 1A2Z3E4R5T6Y7U8I9OP0qaszdefgthtyhyuiioo
  3. See error appear on 30 character limitation

Expected behavior
The restriction should be enlargerd to 50 characters per http header.

bug

All 5 comments

+1

I tested the new release, but it is not yet working like expected.
The complain on the length is gone, but the header is not saved.

When providing my custom header, after I press enter it it shown for like 1-2 sec and than the page is redirected to http://127.0.0.1:8080/services without saving the adaptations.

It seems an event is triggered when updating the field ...

I also observe that the header does not appear to be saved.

Hey @bottoy , I've fixed this issue. I was trying to make clickable tags for each header, but I ended up removing it and leaving it as a normal comma delimited input. I can confirm version 0.80.61 is saving Headers, and there is no maximum limit for the input.

Version 0.80.61 is currently building and should be released any moment.

New version is published. Version 0.80.61.

Was this page helpful?
0 / 5 - 0 ratings