django-rest-framework-xml icon indicating copy to clipboard operation
django-rest-framework-xml copied to clipboard

convert string to int and lost '0' at beggin

Open rikirill opened this issue 1 year ago • 0 comments

https://github.com/jpadilla/django-rest-framework-xml/blob/da33b6bd54e8e434a8218034f41678ec9d4a826e/rest_framework_xml/parsers.py#L74

for exm: if we will parsing 01234 we get dict {"test": 1234}

I propose add check on '0' at start of value

rikirill avatar Jun 30 '23 07:06 rikirill