19a1141af3
This should fix issue #40 I have not made the `allowed_characters` configurable yet nor the `replacement_character`. Mostly because I couldn't decide if I should define those "globally" on a server basis, or on the library nodes. Feel free to modify, extend, rip apart. 😁 Reviewed-on: https://git.mills.io/prologic/tube/pulls/49 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
8 lines
168 B
Go
8 lines
168 B
Go
package media
|
|
|
|
// Path represents a media library path.
|
|
type Path struct {
|
|
Path string
|
|
Prefix string
|
|
PreserveUploadFilename bool
|
|
}
|