jellyfin/MediaBrowser.Model
Joshua Boniface 2a79ae0a6e Normalize baseUrl behaviour
Fully normalizes the baseUrl behaviour to better match how this sort of
feature works in other programs.

1. The baseUrl is always appended to paths, even the built-in `/emby`
and `/mediabrowser` paths.
2. The baseUrl is set statically at class instance creation, to ensure
it persists through changes until the next restart.
3. Configuration is normalized using a function when set, to ensure it's
in a standard `/mypath` format with leading `/`.
4. Cleans up the conditionals around default redirects. For sanity after
changing the URL, it will match *any* path that doesn't match the
current baseUrl and redirect it back to the main page (with baseUrl).
5. Adds a second method, NormalizeUrlPath, to avoid lots of `+ "/" +`
string manipulations which are unclean - we should always have a leading
slash.
6. Sets the default baseUrl to an empty string to avoid unexpected
behaviour, though this would be worked-around automatically.
7. Adds some debug logs whenever a URL is normalized, to help track down
issues with this code (if any arise).
2019-10-08 18:06:03 -04:00
..
Activity Revert "Merge pull request #452 from Bond-009/activitydb" 2019-01-25 23:32:06 +01:00
ApiClient Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
Branding Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
Channels Remove support for games as a media type 2019-01-31 19:04:47 +01:00
Collections Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.Model 2019-01-13 21:02:23 +01:00
Configuration Normalize baseUrl behaviour 2019-10-08 18:06:03 -04:00
Cryptography Remove legacy auth code (#1677) 2019-09-17 12:07:15 -04:00
Devices Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
Diagnostics Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.Model 2019-01-13 21:02:23 +01:00
Dlna Possible fix for MrMC 2019-09-08 21:07:29 +02:00
Drawing Complete rename ImageSize -> ImageDimensions 2019-02-05 19:53:50 +01:00
Dto Fix warnings, improve performance (#1665) 2019-09-02 02:19:29 -04:00
Entities Remove some dead code 2019-03-16 17:28:45 +01:00
Events Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.Model 2019-01-13 21:02:23 +01:00
Extensions Remove MoreLINQ 2019-02-02 12:27:06 +01:00
Globalization Improve LocalizationManager 2019-08-16 17:31:47 +02:00
IO Merge pull request #1636 from Bond-009/isomounter 2019-08-18 03:19:27 -07:00
Library Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
LiveTv Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
MediaInfo Fix more analyzer warnings 2019-01-27 12:12:44 +01:00
Net Restore flac mime type 2019-09-01 01:15:34 -04:00
Notifications Remove support for games as a media type 2019-01-31 19:04:47 +01:00
Playlists Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
Plugins Add analysers to Emby.IsoMounting and enable TreatWarningsAsErrors 2019-08-16 21:03:45 +02:00
Properties Adjusted AssemblyCopyright attribute values. 2019-03-14 22:17:56 +01:00
Providers Remove support for games as a media type 2019-01-31 19:04:47 +01:00
Querying Fix warnings, improve performance (#1665) 2019-09-02 02:19:29 -04:00
Search More warning fixes 2019-08-29 22:28:33 +02:00
Serialization Less string allocations 2019-02-12 21:06:47 +01:00
Services Fix build 2019-08-09 22:36:20 +02:00
Session Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
Sync Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
System Remove WAN IP Detection 2019-09-19 10:55:58 -04:00
Tasks Remove remnants of system events 2019-01-25 22:41:43 +01:00
Updates Check checksum for plugin downloads 2019-08-11 15:54:58 +02:00
Users Hide new users from public API by default 2019-09-19 15:16:57 -04:00
MediaBrowser.Model.csproj Document all public/internal members of Emby.Drawing 2019-08-11 16:52:37 +02:00