mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:37:47 +00:00
AK: Port URL m_paths to String
This commit is contained in:
parent
e9670862a0
commit
ef27750982
3 changed files with 10 additions and 10 deletions
4
AK/URL.h
4
AK/URL.h
|
@ -104,7 +104,7 @@ public:
|
|||
void append_slash()
|
||||
{
|
||||
// NOTE: To indicate that we want to end the path with a slash, we have to append an empty path segment.
|
||||
m_paths.append("");
|
||||
m_paths.append(String {});
|
||||
}
|
||||
|
||||
enum class ApplyPercentDecoding {
|
||||
|
@ -177,7 +177,7 @@ private:
|
|||
|
||||
// A URL’s path is either a URL path segment or a list of zero or more URL path segments, usually identifying a location. It is initially « ».
|
||||
// A URL path segment is an ASCII string. It commonly refers to a directory or a file, but has no predefined meaning.
|
||||
Vector<DeprecatedString> m_paths;
|
||||
Vector<String> m_paths;
|
||||
|
||||
// A URL’s query is either null or an ASCII string. It is initially null.
|
||||
Optional<String> m_query;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue