Hi. Found the interesting bug:
use Mojolicious::Lite;
> get '/' => sub {shift->render(text => 'Hello')};
> app->start;
It return 'Hel'.
get '/' => sub {shift->render(text => 'Helllo')};
Return 'Hell'
get '/' => sub {shift->render(text => 'lo')};
Return ''.
get '/' => sub {shift->render(text => 'Hello world')};
Return 'Hello world'
Somewhere at the core have a regular expression like s/lo$//i?
$ mojo version
CORE
Perl (v5.18.2, linux)
Mojolicious (5.15, Tiger Face)
OPTIONAL
EV 4.0+ (4.11)
IO::Socket::IP 0.20+ (0.29)
IO::Socket::SSL 1.84+ (1.955)
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.