style (session) avoid unnecessary register (refs #4355)
style (report) encode url (refs #4355)