mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 15:30:36 +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 v.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
return fmt.Sprintf("%s", kv.ValueRaw)
|
return fmt.Sprintf("%v", kv.ValueRaw)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user