Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7569911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:17:07+00:00 2026-05-30T15:17:07+00:00

I’m using Backbone.js and Rails. In Backbone.js I use HTML5 push state to set

  • 0

I’m using Backbone.js and Rails.

In Backbone.js I use HTML5 push state to set filter parameters in a url.

When the page is reloading I want to pass these parameters to Rails.

I encoded a parameter lat:34.34+lng:45.23 using JavaScript’s encodeURIComponent. It encoded:

/users/nearby/lat:34.34+lng:45.23/

as:

/users/nearby/lat%3A34.34%2Blng%3A45.23

but this route is not found.

If I delete the points from url, it works.

How can I send parameters with a decimal point?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T15:17:08+00:00Added an answer on May 30, 2026 at 3:17 pm

    The . is not a character that has to be encoded. Is this causing issues server side?

    See here for more details:
    http://www.blooberry.com/indexdot/html/topics/urlencoding.htm

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Backbone with Rails (3.1). I have a search page. The first search
I'm using backbone with the backbone-rails gem which does its own templating and project
I am using backbone.js on a rails backend with HAML Coffee , which is
I'm using Backbone.js in a Rails app and I need to do file uploads
I'm using backbone.js for a rails project I've got on the side. I'm embedding
I'm using Devise and CanCan to create a backbone.js front-end and Rails 3.0.7 for
I'm building one page application using Backbone's router to modify browser history. I don't
I'm trying to keep track of the state in this app using Backbone.js: I
I am beginning to use Backbone and am trying to transition my Rails backend's
I'm trying to follow this Rails/Backbone example but they are using erb and not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.