Skip to content

[bug] FreeRADIUS PostAuthView returns 500 error  #467

@pandafy

Description

@pandafy

The FreeRADIUS PostAuthView (/api/v1/freeradius/postauth/) returns HTTP 500 error if the length of called_station_id field exceeds 50 characters.

A possible fix could be to update the PostAuthSerializer and set max_length attribute on the called_station_id field. This way, the view would return HTTP 400 with the error reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HacktoberfestEasy issues for attracting Hacktoberfest participants.bugSomething isn't workinggood-first-issueGood for newcomers

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions