coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: tronics on August 16, 2009, 06:23:22 PM

Title: Bug: German Umlaut in search
Post by: tronics on August 16, 2009, 06:23:22 PM
This worked in 1.2.0
But it failes in 1.4.25

http://album.at/thumbnails.php?album=search&search=Fu%DFball

The German Umlaut in the url leads to a "no permission" page.

It doesnt work when using the search form
It doesnt work when using the URL in the Location.

Regards,
tronics
Title: Re: Bug: German Umlaut in search
Post by: Joachim Müller on August 18, 2009, 08:28:45 AM
Works as expected for me using the search form as intended (using $_POST) in cpg1.4.x, so you'll need to clarify what you're actually doing. If you're using $_GET, you'll have to live with drawbacks, as it's an undocumented feature. Anyway, works as expected for me, see coppermine-gallery.net/demo/cpg14x/thumbnails.php?album=search&search=weiß (http://coppermine-gallery.net/demo/cpg14x/thumbnails.php?album=search&search=wei%C3%9F)
Shouting "bug" seems inappropriate to me. You should at least have provided a real example URL instead of a dummy placeholder. Maybe you just got confused because you haven't used the proper transcription for the "ß" in an URL: it's %C3%9F and not just %DF

Joachim

P.S. Ä, Ö and Ü are Umlauts. The ß is a so-called "Ligatur" and not an "Umlaut", see de.wikipedia.org/wiki/ß (http://de.wikipedia.org/wiki/%C3%9F) (German) / en.wikipedia.org/wiki/ß (http://en.wikipedia.org/wiki/%C3%9F) (English)