mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
Merge pull request #1860 from lrita/master
fix the invalid format of Context.RequestParams.Get() when the value is not string type
This commit is contained in:
commit
af2d017e1b
|
@ -57,7 +57,7 @@ func (r *RequestParams) Get(key string) string {
|
|||
return v.String()
|
||||
}
|
||||
|
||||
return fmt.Sprintf("%s", kv.ValueRaw)
|
||||
return fmt.Sprintf("%v", kv.ValueRaw)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user