Add pw filtered #2757

This commit is contained in:
Priit Tark 2015-07-13 18:06:59 +03:00
parent b25aa80794
commit d74063f1fe
2 changed files with 5 additions and 1 deletions

View file

@ -309,7 +309,7 @@ class EppController < ApplicationController
# filter pw
if request_command == 'login' && frame.present?
frame.gsub!(/<pw>.+<\/pw>/, '<pw>[FILTERED]</pw>')
frame.gsub!(/pw>.+<\//, 'pw>[FILTERED]</')
end
ApiLog::EppLog.create({