Sinatra doesn’t know this ditty.
Try this:
get '/foto&page=2476' do "Hello World" end