Skip to content

Commit 851844c

Browse files
committedJun 19, 2012
lots of stuff expects the request object to have a hostname method. give it one.

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
 

‎docs/changelog/7.x.x.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
7.10.25
2+
- added: give WebGUI::PseudoRequest a hostname method
23
- fixed: don't clobber the request handler if WebGUI::Test was loaded inside of mod_perl
34
- fixed #12365: editing a metadata may cause a fatal error (Arjan Widlak / United Knowledge)
45
- fixed #12346: toVersion in upgrade_7.9.34-7.10.22.pl was "0.0.0"

‎t/lib/WebGUI/PseudoRequest.pm

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ sub new {
7373
return $self;
7474
}
7575

76+
sub hostname { 'localhost' }
77+
7678
#----------------------------------------------------------------------------
7779

7880
=head2 body ( [$value])

0 commit comments

Comments
 (0)
Please sign in to comment.