Filebrowser: Changing any setting returns "Bad Request" on v1.5.3

Created on 18 Feb 2018  路  4Comments  路  Source: filebrowser/filebrowser

[joseph@localhost Desktop]$ sudo ./filebrowser --allow-edit --allow-new --no-auth --port 80 --scope="/home"
Listening on [::]:80
2018/02/18 19:21:50 /0: 400 Bad Request
2018/02/18 19:21:50 json: cannot set embedded pointer to unexported struct: http.modifyRequest
2018/02/18 19:24:55 /0: 400 Bad Request
2018/02/18 19:24:55 json: cannot set embedded pointer to unexported struct: http.modifyRequest

image

image

Most helpful comment

~Maybe a bug with Go 1.10? @Equim-chan do you also receive an error like this:~

After investigating, I learnt that this was working because of a bug on Reflect library that was fixed on Go 1.10. Just pushed a fix and will release a new version soon 馃槃

All 4 comments

It doesn't happen on v1.5.2? The difference between this two versions is not related to switch view mechanism. 馃槙 I can check that when I get back to the computer

Confirmed, and requests to changing password also trigger the same bug.

~Maybe a bug with Go 1.10? @Equim-chan do you also receive an error like this:~

After investigating, I learnt that this was working because of a bug on Reflect library that was fixed on Go 1.10. Just pushed a fix and will release a new version soon 馃槃

Verified the fix on v1.5.4

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bcardiff picture bcardiff  路  3Comments

GuyPaddock picture GuyPaddock  路  3Comments

quentin-rey picture quentin-rey  路  6Comments

SJ50 picture SJ50  路  5Comments

princemaple picture princemaple  路  6Comments