Giter VIP home page Giter VIP logo

Comments (3)

ukos-git avatar ukos-git commented on September 23, 2024

Confirmed. Adding some info to this.

image

>>> import urllib.parse
>>> s =urllib.parse.unquote('http://127.0.0.1/library/gba/edit/Pok%C3%A9mon%20Pinball')
>>> s
'http://127.0.0.1/library/gba/edit/Pokémon Pinball'
>>> s.encode('iso-8859-1')
b'http://127.0.0.1/library/gba/edit/Pok\xe9mon Pinball'

YAML file content should be encoded in utf-8 and url probably needs to be decoded.

Bottle should decode all parameters as utf-8. I would suggest to try to use the request class here but I only have a "production" setup here.

@route('/library/<platform>/edit/<name>')
@authenticate
def edit(platform, name):
if platform in PLATFORM_HANDLERS:
if not authenticate_platform(platform):
return
content_id = name

content_id = request.query.name

from chimera.

Slybo avatar Slybo commented on September 23, 2024

I came here to post this same issue.
Special characters will not display in the web UI and you get an error message (shown above) when you attempt to edit the entry.

from chimera.

alkazar avatar alkazar commented on September 23, 2024

I took another crack at this and finally figured it out. The issue ended up being the use of the paste backend server. Replacing it with an alternative backend seems to do the trick. Should be fixed in an upcoming release.

from chimera.

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.