Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Building Web Apps with Sinatra ERB Templates Embedding Page Data with ERB

Peter Buckwalter
Peter Buckwalter
6,846 Points

Why no %20

When I change my url to "localhost:4567/nick pettit" I end up on a google search results page.

Everything works fine if I manually enter "localhost:4567/nick%20pettit"

2 Answers

Jay McGavren
STAFF
Jay McGavren
Treehouse Teacher

This is probably the result of the particular web browser you're using - it must not automatically encode illegal characters like space. So yes, you'll probably need to type %20 in place of spaces when using the address bar.

Peter Buckwalter
Peter Buckwalter
6,846 Points

Yep Safari doesn't work. Chrome is all good.