Coder Social home page Coder Social logo

Comments (3)

CorinaCiocanea avatar CorinaCiocanea commented on July 3, 2024

After a bit of investigation, I'm not sure we should do something about this.

Apparently this happens because IIS assumes we are looking for a file. It sees a "." in the url and assumes it is a file name with an extension. Adding an extra "/" as in POST http://spark.furore.com/fhir/Patient/12.345..../ would solve the problem (http://weblogs.asp.net/owscott/handing-mvc-paths-with-dots-in-the-path )

I've found several solutions/workarounds for fixing it, but I'm not sure we want to implement any of them.

One would be to add this in web.config

<system.webserver>
    <modules runAllManagedModulesForAllRequests="true">

But this implies performance costs, so it's not something we want.

Another solution would be to add an IIS URL Rewrite to add an extra / to all requests. Do we want this for all requests? Are we able to distinguish which urls should re-written?

What do you think?

from spark.

mharthoorn avatar mharthoorn commented on July 3, 2024

We'll postpone resolving this until after moving to ASP.NET core.

from spark.

kennethmyhra avatar kennethmyhra commented on July 3, 2024

Fixed as described here: https://stackoverflow.com/a/12151501/1597945. See commit: 55ec8a8

from spark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.