gorilla / schema

Package gorilla/schema fills a struct with form values.
https://gorilla.github.io
BSD 3-Clause "New" or "Revised" License
1.39k stars 231 forks source link

Encode: fix panic with unsupported Kind pointer #194

Closed ledmonster closed 2 years ago

ledmonster commented 2 years ago

Fixes #164

Summary of Changes

  1. Encode fails with panic, if input value has a pointer of unsupported Kind.
  2. I fixed this by ignoring pointers of unsupported Kinds.
ledmonster commented 2 years ago

Sorry, this fix seems to not satisfy current specification.