Avoid seg faults by avoiding stub_env in URL blocker tests
We suspect stub_env
may be causing seg faults since the Ruby
interpreter technically owns this environment. To work around potential
seg faults, we stub out a method in UrlBlocker
.
Relates to #11951 (closed)
Edited by Stan Hu