diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-26 22:22:37 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-26 22:22:37 +0100 |
| commit | 3ba0a4aea3d57c67f316b183ca1efb2f6a3e5ee8 (patch) | |
| tree | 1d79163ac56af198f6c012bc16276cd4c63cddf2 /Private | |
| parent | 5ab8bb9c497f673a81da693e9aacc78210718000 (diff) | |
URL.cxx: remove sysconf from kURLProtocols list.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private')
| -rw-r--r-- | Private/Source/URL.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Private/Source/URL.cxx b/Private/Source/URL.cxx index fc515a03..f4c17e43 100644 --- a/Private/Source/URL.cxx +++ b/Private/Source/URL.cxx @@ -8,7 +8,7 @@ #include <KernelKit/DebugOutput.hpp> #include <NewKit/Utils.hpp> -// Bugs = 0 +/// BUGS: 0 namespace HCore { Url::Url(StringView &strUrl) : m_urlView(strUrl, false) {} @@ -20,11 +20,10 @@ constexpr const char *kURLProtocols[] = { "http", // http without the secure "file", // filesystem protocol "ftp", // file transfer protocol - "sysconf", // system config }; constexpr const int kUrlOutSz = 3; //! such as: :// -constexpr const int kProtosCount = 5; +constexpr const int kProtosCount = 4; constexpr const int kRangeSz = 4096; ErrorOr<StringView> url_extract_location(const char *url) { |
