Uploaded image for project: 'Immutant'
  1. Immutant
  2. IMMUTANT-581

Pedestal servlet handler overrides handlers specified using :path

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 2.1.1
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      I can't find the code I used to encounter this issue now because I worked around it with another method, but a minimal case would be calling (web/run servlet) and (web/run some-handler :path "/some-path").

      Show
      I can't find the code I used to encounter this issue now because I worked around it with another method, but a minimal case would be calling (web/run servlet) and (web/run some-handler :path "/some-path").

      Description

      This may be specific to pedestal only or all servlets. If pedestal's servlet is started using pedestal's default method (which calls web/run internally), calling web/run on another handler using a :path argument does not seem to work (i.e. the request just get sent to pedestal).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jcrossley Jim Crossley
                Reporter:
                aaroncr Aaron Craelius
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: