Skip to content

Commit

Permalink
lots of stuff expects the request object to have a hostname method. g…
Browse files Browse the repository at this point in the history
…ive it one.
  • Loading branch information
scottwalters committed Jun 19, 2012
1 parent 225df67 commit 851844c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/changelog/7.x.x.txt
@@ -1,4 +1,5 @@
7.10.25
- added: give WebGUI::PseudoRequest a hostname method
- fixed: don't clobber the request handler if WebGUI::Test was loaded inside of mod_perl
- fixed #12365: editing a metadata may cause a fatal error (Arjan Widlak / United Knowledge)
- fixed #12346: toVersion in upgrade_7.9.34-7.10.22.pl was "0.0.0"
Expand Down
2 changes: 2 additions & 0 deletions t/lib/WebGUI/PseudoRequest.pm
Expand Up @@ -73,6 +73,8 @@ sub new {
return $self;
}

sub hostname { 'localhost' }

#----------------------------------------------------------------------------

=head2 body ( [$value])
Expand Down

0 comments on commit 851844c

Please sign in to comment.