xrf:// protocol should not mutate top-level URL
This commit is contained in:
parent
f11b420197
commit
9360423a5c
1 changed files with 3 additions and 1 deletions
|
|
@ -14,7 +14,9 @@ return {
|
|||
obj.root = false
|
||||
if obj.URI.target == '_top' then
|
||||
obj.root = true
|
||||
api.ext.URI.current = obj.URL -- set current url
|
||||
if obj.URI.protocol ~= 'xrf' then -- xrf:// should not update toplevel URI
|
||||
api.ext.URI.current = obj.URL -- set current url
|
||||
end
|
||||
end
|
||||
if type(obj.URI.target) == 'table' and obj.URI.target.obj ~= nil then
|
||||
local parent = obj.URI.target.obj
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue