I am trying to pass targetURL using get method. This is the URL that i tried: http://localhost:8000/login/auth?targetURL=www.google.com Backbone.js will return "Cannot GET /login/auth?targetURL=www.google.com"
By right, get variable should not affect the module i'm going into it. if i remove the "period", the url works well. for e.g : http://localhost:8000/login/auth?targetURL=wwwgooglecom
this is how my routes look like
routes: {
'logout': 'logout',
':level1': 'subpageAction',
'logout/:authFail': 'logout',
':level1/:level2': 'subpageAction',
':level1/:level2/:level3': 'subpageAction',
':level1/:level2/:level3/:level4': 'subpageAction',
'': 'subpageAction'
},
Does anyone have the same issue? The issue only happen when i put "." in my url. Anyone can help on this issue?