nadeko_invidious/src
Samantaz Fox 8b1da2001e
Preferences: Fix handling of modified source code URL(#4437)
Before this PR, setting the modified code repo URL through the preferences
page in Invidious was broken:

* the HTML input tag for this field had invalid type "input"
  (though browser falls back on text input)

* the URL was used to set the "checked" property and not as a plain value,
  which makes no sense for a text-based input (and resulted in a blank field)

* when the submitted field is empty, the retrieved value was an empty 'String'
  instead of 'nil', causing the "modified source code URL" to be an empty
  'href' link which just pointed to the current page

No associated open issue
2024-07-21 17:23:48 +02:00
..
ext StaticFileHandler: use HTTP::Status rather than integers 2022-08-15 13:22:39 +02:00
invidious Preferences: Fix handling of modified source code URL(#4437) 2024-07-21 17:23:48 +02:00
invidious.cr API: Add APIHandler back 2024-02-13 21:05:26 +01:00