Changeset 4739
- Timestamp:
- 01/17/08 02:32:02 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/mobirc/trunk/mobirc/lib/Mobirc/Plugin/GPS.pm
r4725 r4739 35 35 if ($uri =~ m{^/channel/([^/]+)/gps\?time=}) { 36 36 my $channel_name = $1; 37 my $page2 = $2;38 37 39 38 my $path = File::Spec->catfile($c->{config}->{global}->{assets_dir}, 'plugin', 'GPS', 'measure.tt2'); … … 79 78 80 79 my $res = HTTP::Response->new(302); 81 my $abs_uri = 'http://' . $c->{req}->header('Host') . $c->{config}->{httpd}->{root} . "channels/$channel_name?msg=" . uri_escape(encode('utf8', $msg)); 82 warn "REDIRECT TO $abs_uri"; 80 my $abs_uri = 'http://' . $c->{req}->header('Host') . $c->{config}->{httpd}->{root} . "channels/$channel_name?msg=" . uri_escape(encode('utf8', "L:$msg")); 83 81 $res->header('Location' => $abs_uri); 84 82 $res;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)