swisskyrepo / GraphQLmap

GraphQLmap is a scripting engine to interact with a graphql endpoint for pentesting purposes. - Do not use for illegal testing ;)
MIT License
1.37k stars 193 forks source link

Suggestion for a headers parsing fix #35

Open uvzz opened 3 years ago

uvzz commented 3 years ago

Hi,

I added a function called fix_headers in utils.py that fixes the string (adds quotes where needed)

tested on windows with python 3.8

spaces should be avoided when providing the headers values