JavaScript URL mangled when redirecting with Backbone

I see a strange behavior when redirecting to a URL with Backbone router.

If I try to redirect to:

//myserver/component_issues/index?id=org.codehaus.sonar:sonarqube

... everything is fine, but I get a 404 when I try to redirect to:

//myserver/component_issues/index?id=org.codehaus.sonar-plugins.javascript:javascript``

The browser JavaScript console tells me that the URL it is trying to open is:

//myserver/component_issues/index?id=org.codehaus.sonar-plugins. 

... so it loses the javascript:javascript part.

What could be going on?

Answer:1

I want to return data from a Service function and inject it into a controller via the routeProvider, but only once the data has been fully loaded. app.js: .when('/sources', { templateUrl:...

I want to return data from a Service function and inject it into a controller via the routeProvider, but only once the data has been fully loaded. app.js: .when('/sources', { templateUrl:...

  1. angular return data from subscribe
  2. angular return data from observable
  3. angular return data from dialog
  4. angular return data from service to component
  5. angular return data from modal
  6. angular return data from service
  7. angular return data from component
  8. angular return data from promise
  9. angular return data
  10. angular return data from post
  11. angular return data from api
  12. angular return data from function
  13. angular return data from http
  14. angular return data from http call
  15. angular material return data from dialog
  16. angular 6 return data from service
  17. angular 6 return data from subscribe
  18. angular httpclient return data
  19. angular 7 return data from subscribe
  20. angular 6 return data from observable

The code snippet for the jQuery function looks like: function addMessage() { if (textval != "") { text_string='<div class="alert-box round"><p class="text-left">' + userName + ...

The code snippet for the jQuery function looks like: function addMessage() { if (textval != "") { text_string='<div class="alert-box round"><p class="text-left">' + userName + ...

Such as: var foo = function (a, b) { return a + b; }; var bar = function (a, b) { return a * b; }; var fn = _.compose([foo, bar]); How to understand the fn?

Such as: var foo = function (a, b) { return a + b; }; var bar = function (a, b) { return a * b; }; var fn = _.compose([foo, bar]); How to understand the fn?

I have a string that is used to display text. It is initially set to null, then is updated throughout a function with status updates. I want to make sure the string is set to the correct status ...

I have a string that is used to display text. It is initially set to null, then is updated throughout a function with status updates. I want to make sure the string is set to the correct status ...

  1. test string equality bash
  2. test string equality python
  3. test string regex
  4. test string bash
  5. test string python
  6. test string equality c++
  7. test string equality java
  8. test string javascript
  9. test string length
  10. test string equality javascript
  11. test string regex javascript
  12. test string not empty bash
  13. test string contains python
  14. text string excel
  15. test string theory
  16. test string in excel
  17. test string length bash
  18. test string equality powershell
  19. test string empty bash
  20. test string contains javascript