mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 20:41:57 +00:00
fix the invalid format of Context.RequestParams.Get() when the value is not string type
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user