mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-01-19 17:32:31 +00:00
Attempting to fix utf8 urls by not type converting to string
This commit is contained in:
parent
bf6c6e56a6
commit
38d23fd76b
@ -268,7 +268,7 @@ def cavepage(request, karea, subpath):
|
||||
except Cave.DoesNotExist:
|
||||
# probably a link to text or an image e.g. 1623/161/l/rl89a.htm i.e. an expoweb page
|
||||
# cannot assume that this is a simple cave page, for a cave we don't know.
|
||||
return expo.expopage(request, str(kpath))
|
||||
return expo.expopage(request, kpath)
|
||||
except Cave.MultipleObjectsReturned:
|
||||
caves = Cave.objects.filter(url = kpath)
|
||||
# we should have a -several variant for the cave pages, not just the svxcaves:
|
||||
|
Loading…
Reference in New Issue
Block a user