Skip to content

User CSS URL and wikiconfig option for custom CSS #1956

@UlrichB22

Description

@UlrichB22

In the user settings there is an option to specify a “User CSS URL”. This can lead to a CSS injection and should IMO be disallowed.
We can either

  • remove this option or
  • change it to a local file or path relative to wiki_local. However, this only allows the use of CSS files provided by the webadmin/wikiadmin.

Also, I would like to have a wikiconfig option to specify a custom CSS file or path relative to wiki_local. This makes custom styles easier as it is not necessary to copy and adapt the snippets.html for simple changes like logos, fonts and colors. This file would need to be maintained if there are changes to the snippets.html source.

Please advise.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions