WebDAV-Daemon icon indicating copy to clipboard operation
WebDAV-Daemon copied to clipboard

Added custom header handler.

Open sbluhm opened this issue 4 years ago • 3 comments

Users might need custom headers. Especially, if you want to allow CORS. For example: Access-Control-Allow-Origin: 'https://www.example.com' Access-Control-Allow-Headers: 'cache-control'

Enhancement #9 Replaces PR #24

sbluhm avatar Jun 09 '21 10:06 sbluhm

Can you please have a look at line https://github.com/sbluhm/WebDAV-Daemon/blame/CustomHeaders/configuration.c#L296 for me? I am not releasing the memory for xmlTextReaderGetAttribute here and have no clue how to do this. According to the documentation, you have to de-allocate it.

sbluhm avatar Jun 09 '21 11:06 sbluhm

@couling

sbluhm avatar Aug 22 '21 19:08 sbluhm

@couling going through my list of open PRs, I found this one. Can you please have a look for me?

Can you please have a look at line https://github.com/sbluhm/WebDAV-Daemon/blame/CustomHeaders/configuration.c#L296 for me? I am not releasing the memory for xmlTextReaderGetAttribute here and have no clue how to do this. According to the documentation, you have to de-allocate it.

If this is fine the way it is, I would be happy to have this merged.

sbluhm avatar Jan 25 '22 08:01 sbluhm