mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 02:05:49 +08:00
FIX: truncate extremely long site name titles (#30977)
This corrects an issue where very long titles on website would cause the backup not to save cause filename was too long
This commit is contained in:
@ -75,7 +75,7 @@ module BackupRestore
|
||||
end
|
||||
|
||||
def get_parameterized_title
|
||||
SiteSetting.title.parameterize.presence || "discourse"
|
||||
SiteSetting.title.parameterize[...64].presence || "discourse"
|
||||
end
|
||||
|
||||
def initialize_state
|
||||
|
Reference in New Issue
Block a user