GithubHelp home page GithubHelp logo

Comments (9)

Kugelschieber avatar Kugelschieber commented on July 29, 2024 1

Fixed: https://github.com/assetto-corsa-web/accweb/blob/master/public/src/components/server.vue#L51

from accweb.

Kugelschieber avatar Kugelschieber commented on July 29, 2024 1

Wait for the next release.

from accweb.

Kugelschieber avatar Kugelschieber commented on July 29, 2024

When does this happen exactly?

from accweb.

Menteroth avatar Menteroth commented on July 29, 2024

When I click 'export config'.

from accweb.

dam09fr avatar dam09fr commented on July 29, 2024

I've noticed that if I use some special characters like '#' in the servername the export function does not work due to the lack of escaping in the URL.

from accweb.

Menteroth avatar Menteroth commented on July 29, 2024

All my server names have | in them.

from accweb.

dam09fr avatar dam09fr commented on July 29, 2024

Not sure how to do this but I think "${this.server.settings.serverName}" needs to be encoded by functions like encodeURIComponent() :
image

from accweb.

Kugelschieber avatar Kugelschieber commented on July 29, 2024

Yes the server name can be anything which doesn't work for URLs. The backend doesn't care about the URL, only the id that is passed as a parameter is used to export the server (see https://github.com/assetto-corsa-web/accweb/blob/master/api/server.go#L199). So we can change that to something else...

from accweb.

Menteroth avatar Menteroth commented on July 29, 2024

Is this something I can fix locally or just wait for next update?

from accweb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.