younginnovations / aidstream-old

[Deprecated] AidStream is a platform for small and medium size NGOs to publish their aid data in IATI standard.
http://aidstream.org
3 stars 13 forks source link

Document URLs with special characters Not Saving #103

Closed ChrisBrooks1987 closed 9 years ago

ChrisBrooks1987 commented 9 years ago

I have been working with a Publisher who is attempting to input a French language URL in to the Document-Link element in AidStream 1.03. However, the accented 'é' e.g. in décembre is been rejected by AidStream which produces the following error message: Message: Please enter a single url in valid url format with valid characters (spaces are not allowed) e.g http(s)://mysite.com/filename.pdf. When I have replaced the é with a e in the URL it is accepted which suggests that the issue lies with this character. I have been able to replicate the fault in the Document-Links in both the Organisation and Activity Files. Of note, the use of the accented é is accepted in the Title element and only appears to pose an issue in the URL. When the Publisher completes the Document-Link page and attempts to save the data in addition to the issue outlined above it appears that the rest of the data that they inputted e.g. Language and Category Code have disappeared. Thus far I have not been able to replicate this issue in my own testing. The attached image is a screenshot of the Document-Link page that shows the error message in the URL element. Of note, the Title element, containing école, is not flagged as invalid.

capture21

anjesh commented 9 years ago

Fixed the url validation issue