fixed is_active by taking into account the query string as well

This commit is contained in:
Jocelyn Fiat
2013-02-05 19:23:54 +01:00
parent 993f1ad6b9
commit 3dbccc024f

View File

@@ -55,8 +55,15 @@ feature -- Element change
end
get_is_active (req: WSF_REQUEST)
local
qs: STRING
do
is_active := req.path_info.same_string (location)
create qs.make_from_string (req.path_info)
if attached req.query_string as l_query_string and then not l_query_string.is_empty then
qs.append_character ('?')
qs.append (l_query_string)
end
is_active := qs.same_string (location)
end
set_permission_arguments (args: ITERABLE [STRING])