Skip to main content
added 18 characters in body
Source Link
Simone Carletti
  • 176.1k
  • 50
  • 367
  • 368

I am having routes like below to delete/list an user.

map.connect 'developer/:user_name/delete',:controller=>"developers",:action=>"delete",:method=>:delete

map.connect 'developer/:user_name/list',:controller=>"developers",:action=>"list",:method=>:get

map.connect 'developer/:user_name/delete',:controller=>"developers",:action=>"delete",:method=>:delete  

map.connect 'developer/:user_name/list',:controller=>"developers",:action=>"list",:method=>:get

While listing the user by encoding the Dot with %2E, i can see the success response http://localhost:3000/developer/testuser%2Ehu/list

http://localhost:3000/developer/testuser%2Ehu/list

But While trying to delete the user who containing the Dot(.), throws 404 error.

http://localhost:3000/developer/testuser%2Ehu/delete, how to fix this issue.

http://localhost:3000/developer/testuser%2Ehu/delete, how to fix this issue.

I am having routes like below to delete/list an user.

map.connect 'developer/:user_name/delete',:controller=>"developers",:action=>"delete",:method=>:delete

map.connect 'developer/:user_name/list',:controller=>"developers",:action=>"list",:method=>:get

While listing the user by encoding the Dot with %2E, i can see the success response http://localhost:3000/developer/testuser%2Ehu/list

But While trying to delete the user who containing the Dot(.), throws 404 error.

http://localhost:3000/developer/testuser%2Ehu/delete, how to fix this issue.

I am having routes like below to delete/list an user.

map.connect 'developer/:user_name/delete',:controller=>"developers",:action=>"delete",:method=>:delete  

map.connect 'developer/:user_name/list',:controller=>"developers",:action=>"list",:method=>:get

While listing the user by encoding the Dot with %2E, i can see the success response

http://localhost:3000/developer/testuser%2Ehu/list

But While trying to delete the user who containing the Dot(.), throws 404 error.

http://localhost:3000/developer/testuser%2Ehu/delete, how to fix this issue.
edited body
Source Link
loganathan
  • 6.1k
  • 8
  • 35
  • 50

I am having routes like below to delete/list an user.

map.connect 'developer/:user_name/delete',:controller=>"developers",:action=>"delete",:method=>:delete

map.connect 'developer/:user_name/list',:controller=>"developers",:action=>"list",:method=>:get

While listing the user by encoding the Dot with %2E, i can see the success response http://localhost:3000/developer/testuser%2Ehu/list

But While trying to delete the user who containing the Dot(.), throws 404 error.

http://localhost:3000/developer/testuser%2ehutestuser%2Ehu/delete, how to fix this issue.

I am having routes like below to delete/list an user.

map.connect 'developer/:user_name/delete',:controller=>"developers",:action=>"delete",:method=>:delete

map.connect 'developer/:user_name/list',:controller=>"developers",:action=>"list",:method=>:get

While listing the user by encoding the Dot with %2E, i can see the success response http://localhost:3000/developer/testuser%2Ehu/list

But While trying to delete the user who containing the Dot(.), throws 404 error.

http://localhost:3000/developer/testuser%2ehu/delete, how to fix this issue.

I am having routes like below to delete/list an user.

map.connect 'developer/:user_name/delete',:controller=>"developers",:action=>"delete",:method=>:delete

map.connect 'developer/:user_name/list',:controller=>"developers",:action=>"list",:method=>:get

While listing the user by encoding the Dot with %2E, i can see the success response http://localhost:3000/developer/testuser%2Ehu/list

But While trying to delete the user who containing the Dot(.), throws 404 error.

http://localhost:3000/developer/testuser%2Ehu/delete, how to fix this issue.

added 251 characters in body
Source Link
loganathan
  • 6.1k
  • 8
  • 35
  • 50

I am having routes like below to delete/list an user.

map.connect 'developer/:user_name/delete',:controller=>"developers",:action=>"delete",:method=>:delete

map.connect 'developer/:user_name/list',:controller=>"developers",:action=>"list",:method=>:get

While listing the user by encoding the Dot with %2E, i can see the success response http://localhost:3000/developer/testuser%2Ehu/list

But While trying to delete the user who containing the Dot(.), throws 404 error.

http://localhost:3000/developer/testuser.hutestuser%2ehu/delete, how to fix this issue.

I am having routes like below to delete an user.

map.connect 'developer/:user_name/delete',:controller=>"developers",:action=>"delete",:method=>:delete

While trying to delete the user who containing the Dot(.), throws 404 error.

http://localhost:3000/developer/testuser.hu/delete, how to fix this issue.

I am having routes like below to delete/list an user.

map.connect 'developer/:user_name/delete',:controller=>"developers",:action=>"delete",:method=>:delete

map.connect 'developer/:user_name/list',:controller=>"developers",:action=>"list",:method=>:get

While listing the user by encoding the Dot with %2E, i can see the success response http://localhost:3000/developer/testuser%2Ehu/list

But While trying to delete the user who containing the Dot(.), throws 404 error.

http://localhost:3000/developer/testuser%2ehu/delete, how to fix this issue.

Source Link
loganathan
  • 6.1k
  • 8
  • 35
  • 50
Loading