mirror of
https://github.com/internetee/registry.git
synced 2025-05-30 01:20:04 +02:00
Add pw filtered #2757
This commit is contained in:
parent
0a55888da9
commit
f7dd2d0255
2 changed files with 5 additions and 1 deletions
|
@ -280,7 +280,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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue