Puzzlepart / prosjektportalen

Prosjektportal for SharePoint er et prosjektstyringsverktøy for SharePoint basert på prosjektveiviseren
Other
30 stars 16 forks source link

Using special characteres in project title yields an illigal URL #118

Closed okms closed 7 years ago

okms commented 7 years ago

Category

[ ] Enhancement

[x] Bug

[ ] Question

Environment

[ ] SharePoint Online [x] SharePoint 2013

Summary

In order to support various browser/platform scenarios we should not suggest URLs with special characters in them. I suggest keeping only the following chars

a-z, 0-9

transcoding æ=>ae ø=>o å=>a

Its especially important that characters like '?' and '&' is dropped or URL encoded

image

olemp commented 7 years ago

Nice find. Would love if you if you push a fix for this Mr. regex-master.

The function that's being used is generateUrl at the following location src\js\Util\index.ts.

tarjeieo commented 7 years ago

Assume fixed in https://github.com/Puzzlepart/prosjektportalen/commit/699b0a8fb771a09f89dd2280996d860289867392. Thx Prime!