title: MVC4 JsonResult from jQuery Ajax call not found
body: <p>My Ajax call looks like this:</p>
  
  <pre><code>        $.ajax({
              type: "POST",
              url: "/Home/GetStuff",
              success: function (data) {
                  getStuff_callback(data);
              },
              dataType: "json",
              traditional: true
          });
  </code></pre>
  
  <p>Everything works fine on local but when I publish the project to a folder called "ws" on my FTP server, the GetStuff JsonResult function cannot be found unless I do like this <strong>"url: "/ws/Home/GetStuff""</strong>... which is something I really don't wanna have to do everytime I want to publish.</p>
  
  <p>I tried <strong>@Url.Action("GetStuff", "Home")</strong> but I get "Uncaught SyntaxError: Invalid flags supplied to RegExp constructor 'GetStuff'" in Chrome debugger.</p>