A “&” character is not escaped properly in a slugs
-
Let’s consider a scenario:
1. Create a new gallery by a “Add gallery / Images” option (important: This bug is not present when you add the gallery by a “Manage galleries” where the “&” character is replaced to a “-” character in the slug during creating the gallery):
Gallery name: Dagmara & Piotrek”
2. Add this gallery to a album “Your stories”
3. Go to the album “Your stories”.
You will see your gallery “Sabina & Sebastian” and a gallery thumbnail. Click on this gallery (link:your-stories/nggallery/wasze-historie/Dagmara-&-Piotrek
) – “No images found”
Why? This link is broken. It should be/your-stories/nggallery/wasze-historie/Dagmara-& amp;-Piotrek
either by the using urlencode function in template or special characters should be escaped during creating the gallery (like in the “Manage galleries” function)- This topic was modified 5 years, 4 months ago by .
- This topic was modified 5 years, 4 months ago by .
- This topic was modified 5 years, 4 months ago by .
- This topic was modified 5 years, 4 months ago by .
- This topic was modified 5 years, 4 months ago by .
- This topic was modified 5 years, 4 months ago by .
- This topic was modified 5 years, 4 months ago by .
- This topic was modified 5 years, 4 months ago by .
- This topic was modified 5 years, 4 months ago by .
- This topic was modified 5 years, 4 months ago by .
- The topic ‘A “&” character is not escaped properly in a slugs’ is closed to new replies.