We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requesting any dav path with basic authentication always returls 404 - Not Found eg.
➜ curl -X PROPFIND http://localhost:9140/remote.php/webdav/123 -u tu1:1234 -v * Trying 127.0.0.1... * TCP_NODELAY set * Connected to localhost (127.0.0.1) port 9140 (#0) * Server auth using Basic with user 'tu1' > PROPFIND /remote.php/webdav/123 HTTP/1.1 > Host: localhost:9140 > Authorization: Basic dHUxOjEyMzQ= > User-Agent: curl/7.58.0 > Accept: */* > < HTTP/1.1 404 Not Found < Access-Control-Allow-Origin: * < Vary: Origin < X-Access-Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNTg1MTIzMTcyLCJpYXQiOjE1ODUxMTk1NzIsInVzZXIiOnsiaWQiOnsib3BhcXVlX2lkIjoidHUxIn0sInVzZXJuYW1lIjoidHUxIiwibWFpbCI6InR1MUBleGFtcGxlLm9yZyIsImRpc3BsYXlfbmFtZSI6Ik93YW5lIn19.-BTwLDE26RknkG63bpJSGL-ZX4oWSjSU9YDAwT4oo-8 < Date: Wed, 25 Mar 2020 06:59:32 GMT < Content-Length: 0 < * Connection #0 to host localhost left intact
But requesting the same endpoint with Bearer Auth returns the result
➜ curl -X PROPFIND http://localhost:9140/remote.php/webdav/123 -H 'authorization: Bearer eyJhbGciOiJQUzI1NiIsImtpZCI6IiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJwaG9lbml4IiwiZXhwIjoxNTg1MTE5NTM2LCJqdGkiOiJDZ2Uxb3hCUXQ0THJrcFhRaW5FYWhGbzlhTFF6eloteiIsImlhdCI6MTU4NTExODkzNiwiaXNzIjoiaHR0cHM6Ly8xNzIuMTcuMC4xOjkxMzAiLCJzdWIiOiJTM0ZZMTF5YmpyLThhRkpneGEwc0w1Tk5vUUxsbDIzaTFPMzBxRURsM2J3aGoyWU1iSmtGdjUzbmZnTDAzdlpOblQwZzY2RF9GZHZDTmkycjZzbGNVZ0Brb25uZWN0Iiwia2MuaXNBY2Nlc3NUb2tlbiI6dHJ1ZSwia2MuYXV0aG9yaXplZFNjb3BlcyI6WyJvcGVuaWQiLCJwcm9maWxlIiwiZW1haWwiXSwia2MuaWRlbnRpdHkiOnsia2MuaS5kbiI6Ik93YW5lIiwia2MuaS5pZCI6InVpZD10dTEsb3U9VGVzdFVzZXJzLGRjPW93bmNsb3VkLGRjPWNvbSIsImtjLmkudW4iOiJ0dTEifSwia2MucHJvdmlkZXIiOiJpZGVudGlmaWVyLWxkYXAifQ.RAhX4C_Jl8A_D01tnjgGes6an-r8X2TrLG1-Jy5EvM4J9pJ1_sCB3xPVm13Vh1dNEUg2kva6CDUt5_CHwQYgvVTyxBHQ6zC8aDrM8O8GRNi2YLJQ9bAUD2-xiEtyrMT8hoKhuVJaTEsvLgzdqMPGxvqnD-BfQU-H53OonUurhN1wMmwXIqZuynQUjKSd5P_h6MAeh7R4CiY_oujEPMS8ZAja6awhTsODwDfBSHE_rnE7bMyaNAkdCcewIP7duIN9dakMipm4WFc8LS7Z5CDW_XnOF4j5L4MDPLQYLjTSNoUCzZqxevOfdezb58BXhWs25sRXYAM70X3MaLjedx3k0A' | xmllint --format - % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 724 100 724 0 0 45250 0 --:--:-- --:--:-- --:--:-- 45250 <?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:oc="http://owncloud.org/ns"> <d:response> <d:href>/remote.php/webdav/123</d:href> <d:propstat> <d:prop> <oc:id>MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjU1NDQwMDAwOjQ0NjJmMGMzLTNkYmEtNDBmNi04YTEwLWU1ZWZlNzg5MTBhMQ==</oc:id> <oc:fileid>MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjU1NDQwMDAwOjQ0NjJmMGMzLTNkYmEtNDBmNi04YTEwLWU1ZWZlNzg5MTBhMQ==</oc:fileid> <d:getetag>"c80a69f2a255fba5ea112cbae19d1b49"</d:getetag> <oc:permissions>WCKDNVR</oc:permissions> <d:getlastmodified>Wed, 25 Mar 2020 05:10:06 UTC</d:getlastmodified> <oc:favorite>0</oc:favorite> </d:prop> <d:status>HTTP/1.1 200 OK</d:status> </d:propstat> </d:response> </d:multistatus>
The text was updated successfully, but these errors were encountered:
works for me. @dpakach please retest and close if solved
Sorry, something went wrong.
basic auth works when running the server with PROXY_ENABLE_BASIC_AUTH=true, I think we can close this
PROXY_ENABLE_BASIC_AUTH=true
No branches or pull requests
Requesting any dav path with basic authentication always returls 404 - Not Found
eg.
But requesting the same endpoint with Bearer Auth returns the result
The text was updated successfully, but these errors were encountered: