alanshaw/david-www

[Error] Unhandled "type" parameter errors

Aberta

#363 aberto em 25 de jan. de 2017

 (3 comentários) (0 reação) (0 responsável)JavaScript (177 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (733 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

The input needs to be sanitized !

$ curl http://localhost:1337/alanshaw/grunt-jsio?type=()
SyntaxError: Unexpected token < in JSON at position 0
   at JSON.parse (<anonymous>)
   at [My PATH]/david-www/node_modules/node-fetch/lib/body.js:48:15
   at process._tickCallback (internal/process/next_tick.js:103:7)

Guia do colaborador