Skip to content

Can't pass valid avatar URL #73

@LosHunterros

Description

@LosHunterros

URL to user's avatar in my Nextcloud (30.0.4) looks like this:
https://mynextcloud.com/index.php/avatar/username/512

I can't (or maybe i just don't know how?) get link without '/512' (or some other numer) at the end.
So to pass whole URL - with username in proper place - to Discourse i have to fill config form like this:

Avatar URL:
https://mynextcloud.com/index.php/avatar/

Avatar URL Params:
/512

But 'Avatar URL Params' is prepared to be some kind of query string, not end of folder path. Query string always begin with '?', and script is adding it. So final URL passed to Discourse look like this:
https://mynextcloud.com/index.php/avatar/username?/512

Resolution seems to be simple. Just get rid of this '?' from script. If someone will really need it then he can write it himself in 'Avatar URL Params'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions