Skip to content

Commit

Permalink
LibWebView: Escape HTML entities in the Task Manager process titles
Browse files Browse the repository at this point in the history
  • Loading branch information
trflynn89 committed May 12, 2024
1 parent 3f54bb8 commit 765889e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Userland/Libraries/LibWebView/ProcessManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ String ProcessManager::generate_html()
builder.append("<td>"sv);
builder.append(WebView::process_name_from_type(process.type));
if (process.title.has_value())
builder.appendff(" - {}", *process.title);
builder.appendff(" - {}", escape_html_entities(*process.title));
builder.append("</td>"sv);
builder.append("<td>"sv);
builder.append(MUST(String::number(process.pid)));
Expand Down

0 comments on commit 765889e

Please sign in to comment.