Validierung Link-Adresse Seitentyp Externe Weiterleitung #8652
Comments
However you are right that the validation should not simply remove the URL altogether and it should display an appropriate error message. |
Unfortunately, it is not possible to specify an anchor for an internal forwarding, it would of course be preferable to add an anchor option there. |
Even if you were able to set an anchor there, it would not work in the front end because of the |
You can use an anchor, but you need to add a valid url (potentially to the current page, using an insert tag).
|
Should an URL starting with // be invalid at all? While you cannot enter this notation into the browser bar (will result in file://URL), it seems to work in . Browsers will interpret the // as the protocol currently in use, so its either HTTP or HTTPS. |
That is technically correct. However, be aware that protocol-relative URLs are deprecated. If a site is available via HTTPS, you should ALWAYS link to the secure URL.
|
@KaiserCh I think you mean |
Not in GNU/Linux, where / is the regular path separator. And since MacOS is an Unix and Android a Linux, both should act the same as my Ubuntu desktop. |
It is actually the PHP |
Bei der Validierung der Link-Adresse einer Seite vom Typ Externe Weiterleitung werden Links die mit
//
beginnen (z. B.//www.google.de
) sowie Links die nur auf einen Anker verweisen (z. B.#test
) als ungültig zurückgewiesen.Dabei wird die eingegebene Adresse außerdem gelöscht und die Fehlermeldung
Bitte füllen Sie das Feld "Link-Adresse" aus!
angezeigt, statt die Eingabe wie üblich zusammen mit einer spezifischen Fehlermeldung anzuzeigen.The text was updated successfully, but these errors were encountered: