sitemaps and prepend_www

2011-04-22 Thread Nikolay Panov
Hi, I cannot use www in current_site.domain since .domain is used in many places (e.g. emails) where www is not required. BTW, I'm using PREPEND_WWW=True setting, since it makes url looks better. Now, google webmaster tools rejecting all links in sitemap of my project because lack of 'www'. My qu

Re: Issues surrounding IDN validation and URLs in general

2010-03-01 Thread Nikolay Panov
2010/2/28 Ulrich Petri : > ~/ python2.6 > Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32) > [GCC 4.0.1 (Apple Inc. build 5493)] on darwin > Type "help", "copyright", "credits" or "license" for more information. from urllib2 import urlopen urlopen('http://пример.испытание/') > > Yeah, i

Re: Issues surrounding IDN validation and URLs in general

2010-02-28 Thread Nikolay Panov
>> Validation of IDN (Internationalized Domain Names) was added in >> [12474], but I noticed that the verify_exists option doesn't work when >> you use an IDN. This is caused by urllib2 not supporting IDN and the >> validation code using the original unicode version of the URL when >> testing for e