Marcus Christie created AIRAVATA-2982:
-----------------------------------------

             Summary: Loading DataProduct REST API response fails in Apache 
with error: "AH00026: found %2f"
                 Key: AIRAVATA-2982
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2982
             Project: Airavata
          Issue Type: Bug
          Components: Django Portal
            Reporter: Marcus Christie
            Assignee: Marcus Christie


>From the error log
{noformat}
[Tue Feb 19 17:46:16.373574 2019] [core:info] [pid 24172] [client 
149.160.140.232:54084] AH00026: found %2f (encoded '/') in URI 
(decoded='/api/data-products/airavata-dp://d78c9aa6-1d7a-4acd-a2d3-931c1ab316af/'),
 returning 404, referer: 
https://django.seagrid.org/workspace/experiments/Clone_of_Gaussian_on_Feb_19%2C_2019_12%3A44_PM_589545bf-0cd8-4483-aac3-565a28abe3ee/edit
{noformat}

Tried [setting AllowEncodedSlashes to 
On|https://stackoverflow.com/questions/4390436/need-to-allow-encoded-slashes-on-apache].
 With `AllowEncodedSlashes On`, the value is coming through as:
`airavata-dp:/227cceb7-ee93-4696-b479-19a61b54b494`. So one of the slashes
has gone missing.

I'm thinking that I should just change the REST API to take the data product 
uri as a query parameter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to