[TYPO3-english] CoolURI 1.0.29 updated to 1.0.32

Jan Bednarik info at bednarik.org
Mon Mar 25 21:07:14 CET 2013


Hi Stefan,

what does the mapping for the last parameter look like? I changed 
escaping of SQL parameters so they are always quoted, so if you have 
mapping SQL e.g.

SELECT title FROM mytable WHERE uid='$1'

then please change it to

SELECT title FROM mytable WHERE uid=$1

Regards

Jan

Dne 25.3.2013 18:16, Stefan Geith napsal(a):
> Hi,
>
> I just have updated CoolURI from 1.0.29 to 1.0.32 and now
> the links of my personal plugin are no longer treated correctly.
>
> e.g. with 1.0.29:
> http://example.com/campingplaetze/details/camping_capri/
> is now with 1.0.32:
> http://example.com/campingplaetze/details/'7383'/
>
> Does anyone have an idea, what's wrong ?
>
> /Stefan
>
>
> P.S.:
> CoolUriConf.xml did not change:
> <snip>
> ...
> <uriparts>
> <part>
>    <parameter>tx_ttnews[tt_news]</parameter>
>    ...
> </part>
>
>
> <part>
>    <parameter>tx_hkcampsites_pi1[search][country]</parameter>
>    <lookindb>
>      <to>SELECT country_name FROM tx_hkcampsites_geo_countries WHERE
> uid=$1</to>
>      <translatetoif>
>        <match>^([a-z]+)|all$</match>
>      </translatetoif>
>      <urlize>1</urlize>
>    </lookindb>
> </part>
> ...
> <part>
>    <parameter>tx_hkcampsites_pi2[location_uid]</parameter>
>    <lookindb>
>      <to>SELECT CONCAT(urlAlias,'__',bookcode) FROM
> tx_hkcampsites_product_locations WHERE uid='$1'</to>
>      <translatetoif>
>        <match>^[0-9]+$</match>
>      </translatetoif>
>      <urlize>1</urlize>
>    </lookindb>
> </part>
> ...
> </uriparts>
> ...
> </snip>



More information about the TYPO3-english mailing list