mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-21 08:31:27 -05:00
Pass unvalidated input to field
This commit is contained in:
parent
feca77b040
commit
f3e58f29b0
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ func newActorID(uri string) (ActorID, error) {
|
||||||
result.Host = validatedURI.Hostname()
|
result.Host = validatedURI.Hostname()
|
||||||
result.Path = pathWithoutActorID
|
result.Path = pathWithoutActorID
|
||||||
result.Port = validatedURI.Port()
|
result.Port = validatedURI.Port()
|
||||||
result.UnvalidatedInput = validatedURI.String() // ToDo: Whats happening here?
|
result.UnvalidatedInput = uri
|
||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue