Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'broken': 0.03; 'rename': 0.07; 'rewrite': 0.07; "subject:' ": 0.07; 'python': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'charset:iso-8859-7': 0.15; 'again..': 0.16; 'doesnt': 0.16; 'files)': 0.16; 'redundant.': 0.16; 'rule.': 0.16; 'url.': 0.16; 'load': 0.19; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'script': 0.24; 'tried': 0.25; 'cc:addr:python.org': 0.25; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'first,': 0.27; 'i.e.': 0.27; 'necessary.': 0.27; 'subject:list': 0.28; 'chris': 0.28; 'decide': 0.28; 'appending': 0.29; "skip:' 10": 0.30; 'gets': 0.32; 'file': 0.32; 'page.': 0.33; 'received:google.com': 0.34; 'especially': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'why': 0.37; 'received:209': 0.37; 'received:209.85.216': 0.37; 'subject:: ': 0.38; 'delete': 0.38; 'page': 0.38; 'easily': 0.39; 'your': 0.60; 'information': 0.63; 'url:page': 0.71; 'received:209.85.216.184': 0.84; 'good,': 0.91 Newsgroups: comp.lang.python Date: Sat, 15 Sep 2012 09:53:21 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=94.68.84.56; posting-account=DYJQ-woAAACEPH85Au2BhUVfFTfSfVa4 References: <071ad036-77ca-42d3-b68d-0dd3e3fac43e@googlegroups.com> <9c166e95-e70f-4294-833b-1071a24c6d6d@googlegroups.com> <65a098bd-4fc7-4df6-9436-3d084b810f22@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 94.68.84.56 MIME-Version: 1.0 Subject: Re: cannot concatenate 'str' and 'list' objects From: =?ISO-8859-7?B?zenq/Ovh7/Igyu/98eHy?= To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347728010 news.xs4all.nl 6966 [2001:888:2000:d::a6]:47255 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29254 =D4=E7 =D3=DC=E2=E2=E1=F4=EF, 15 =D3=E5=F0=F4=E5=EC=E2=F1=DF=EF=F5 2012 7:2= 5:15 =EC.=EC. UTC+3, =EF =F7=F1=DE=F3=F4=E7=F2 Chris Angelico =DD=E3=F1=E1= =F8=E5: First, decide whether or not you need the 'page' form >=20 > field. Either it's redundant or it's necessary. >=20 >=20 >=20 > 1) If it's redundant: Easy. Delete it. Your page will begin working again= . >=20 > 2) If it's necessary: Either rename it, or rename the form field you >=20 > use in your rewrite rule. The 'page' form field is of couse neccessary because how else the python co= unter.py script would know which html file triggered it so to present it an= d do its log thing?(i intend to create a few html files) I still do not see why you say that it might be redundant. > But spare a thought for the way your script can so easily be broken by >=20 > simply appending "?page=3D" to any URL. That's not good, especially >=20 > given how much internal information gets dumped to the page. I tried it, it doesnt load any webistes that way. i.e. http://superhost.gr?page=3D'www.google.gr' fails to load.