1
Fork 0
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:
Shannon Booth 2023-09-17 12:33:58 +12:00 committed by Andreas Kling
parent e9670862a0
commit ef27750982
3 changed files with 10 additions and 10 deletions

View file

@ -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 URLs 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 URLs query is either null or an ASCII string. It is initially null.
Optional<String> m_query;