Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01:00

Pass unvalidated input to field

This commit is contained in:
erik 2024-04-12 14:24:38 +02:00
parent feca77b040
commit f3e58f29b0

View file

@ -195,7 +195,7 @@ func newActorID(uri string) (ActorID, error) {
result.Host = validatedURI.Hostname()
result.Path = pathWithoutActorID
result.Port = validatedURI.Port()
result.UnvalidatedInput = validatedURI.String() // ToDo: Whats happening here?
result.UnvalidatedInput = uri
return result, nil
}