Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/engine/Main.cpp

Issue 29355411: Issue 4486 - fix document URL parameter value when calling GetWhitelistingFilter (Closed)
Patch Set: Created Sept. 30, 2016, 9:23 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/engine/Main.cpp
diff --git a/src/engine/Main.cpp b/src/engine/Main.cpp
index 3f0cd4f16d26ea8987c7ad41f2a328ec481155ab..d0937448001731168baad2fdea407a643e33c5ef 100644
--- a/src/engine/Main.cpp
+++ b/src/engine/Main.cpp
@@ -109,7 +109,7 @@ namespace
{
if (frameHierarchy.empty())
{
- return GetWhitelistingFilter(urlArg, "", type);
+ return GetWhitelistingFilter(urlArg, urlArg, type);
}
auto frameIterator = frameHierarchy.begin();
std::string url = urlArg;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld