Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null character is interpreted as string terminator inside JS/Ruby strings #13

Open
lautis opened this issue Jun 4, 2011 · 1 comment

Comments

@lautis
Copy link

lautis commented Jun 4, 2011

ruby-1.9.2-p180 :009 > Mustang::Context.new.eval("(function() { return \"\\0foo\"; }())").length
 => 0

See rubyjs/therubyracer#78

@nu7hatch
Copy link
Owner

Thanks, i'll apply fixes in free time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants