N
N
Nicolas2015-03-12 18:23:31
JavaScript
Nicolas, 2015-03-12 18:23:31

How to handle Cyrillic in url for Phantom.js?

Phantom.js renders static for search engines. Categorically refuses to process Cyrillic urls. If "/contacts" is written in the routing, then we get:
Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
If "/%D0%BA%D0%BE%D0%BD%D1%82%D0%B0%D0%BA%D1%82%D1%8B", then we get:
http://example.ru:80/%C3%90%C2%BA%C3%90%C2%BE%C3%9...
That is, not the correct url (he re-encoded it).
How to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Melnikov, 2015-03-13
@mlnkv

do not use cyrillic

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question