RandomSec/main/webapp/modules/core
Tom Morris 4b146acc6e
Create Project import improvements (#2806)
* Fix charset encoding & MIME type handling

Character set (ie what we call "encoding") is part of the Content-Type,
*not* the Content-Encoding, which specifies compression (e.g. gzip).

This correctly sets the character set encoding as well as cleaning
the MIME type so that additional parsing doesn't need to be done
downstream (and removes that code).

* Use "text" instead of "text/line-based" as default fallback format

The TextLineBasedGuesser only tries a limited number of
formats (CSV, TSV, fixed), so we can't get out of that hole to
find JSON, XML, etc.

Start with a more general format instead to improve our
guessing odds.

* Support content type Structured Name Syntax Suffixes (+json +xml)

If we can't find a fully specified content type in our lookup,
fall back to just the suffix (which is registered with a leading +)
Fixes #2800 Fixes #2805
2020-06-25 08:36:57 +02:00
..
externals Update jquery.i18n to 1.07 and fix non-English plural support (#2717) 2020-06-14 10:23:23 +02:00
images (I #1038) Add a Show/Hide left panel button (#2616) 2020-05-30 12:01:26 +01:00
langs Translated using Weblate (Japanese) 2020-06-24 21:41:46 +02:00
MOD-INF Create Project import improvements (#2806) 2020-06-25 08:36:57 +02:00
scripts (I #2765) Fix i18n not working in the Edit Pref Window (#2766) 2020-06-21 08:26:00 +02:00
styles (I #2638) Feature to Goto a page directly (#2639) 2020-06-17 11:31:56 +02:00
about.html Delete old logos and rename new logos 2018-02-08 13:04:35 +08:00
error.vt use absolute path (#2679) 2020-06-06 11:25:52 +01:00
index.vt Delete old logos and rename new logos 2018-02-08 13:04:35 +08:00
macros.vm Converted project.html to project.vt and added a client side resource manager, where extensions can register scripts and styles to be included in .vt files 2010-06-15 00:35:23 +00:00
preferences.vt Delete old logos and rename new logos 2018-02-08 13:04:35 +08:00
project.vt Delete old logos and rename new logos 2018-02-08 13:04:35 +08:00