Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special characters in URL fail on "nikola auto" #1925

Closed
humitos opened this issue Aug 4, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@humitos
Copy link
Member

commented Aug 4, 2015

I have this file in my blog (http://elblogdehumitos.com.ar/posts/subtitulos-de-cortos-de-david-oreilly/The_External_World-19723116_%5Bes%5D.srt) and when it's accessed from nikola auto command I get a 404 but when it's accessed from nikola serve there is no problem:

(blog)[18:03] humitos: nikola> nikola auto
Scanning posts...done!
[2015-08-04T22:03:38Z] INFO: auto: Watching files for changes...
[2015-08-04T22:03:39Z] INFO: ws4py: Using epoll
[2015-08-04T22:03:39Z] INFO: auto: Serving HTTP on 127.0.0.1 port 8000...
[2015-08-04T22:03:41Z] INFO: ws4py: Managing websocket [Local => 127.0.0.1:8000 | Remote => 127.0.0.1:44815]
[2015-08-04T22:03:41Z] INFO: auto: <--- {u'snipver': 1, u'ver': u'2.2.1', u'command': u'hello', u'protocols': [u'http://livereload.com/protocols/official-6', u'http://livereload.com/protocols/official-7']}
[2015-08-04T22:03:41Z] INFO: auto: ---> {"serverName": "nikola-livereload", "command": "hello", "protocols": ["http://livereload.com/protocols/official-7"]}
[2015-08-04T22:03:41Z] INFO: auto: <--- {u'url': u'http://localhost:8000/posts/subtitulos-de-cortos-de-david-oreilly/The_External_World-19723116_%5Bes%5D.srt', u'command': u'info', u'plugins': {u'less': {u'disable': False, u'version': u'1.0'}}}
[2015-08-04T22:03:41Z] INFO: auto: ****** Browser connected: http://localhost:8000/posts/subtitulos-de-cortos-de-david-oreilly/The_External_World-19723116_%5Bes%5D.srt
[2015-08-04T22:03:41Z] INFO: auto: ****** sending 0 pending messages
^C[2015-08-04T22:03:51Z] INFO: auto: Server is shutting down.
Terminado
(blog)[18:03] humitos: nikola> nikola serve
[2015-08-04T22:03:54Z] INFO: serve: Serving HTTP on 0.0.0.0 port 8000...
127.0.0.1 - - [04/Aug/2015 18:03:55] "GET /posts/subtitulos-de-cortos-de-david-oreilly/The_External_World-19723116_%5Bes%5D.srt HTTP/1.1" 200 -

The filename is: The_External_World-19723116_[es].srt

@humitos humitos added the bug label Aug 4, 2015

@ralsina ralsina added this to the 7.6.3 milestone Aug 5, 2015

@ralsina ralsina self-assigned this Aug 5, 2015

@ralsina ralsina added the PR exists label Aug 5, 2015

@ralsina ralsina closed this in #1926 Aug 5, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.