Skip to content

Commit

Permalink
http: missing fragment warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed May 20, 2024
1 parent e07de44 commit f155816
Show file tree
Hide file tree
Showing 32 changed files with 48 additions and 16 deletions.
2 changes: 1 addition & 1 deletion http/bg/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

Браузърите не изпращат откъса към сървъра, така че `$url->getFragment()` ще върне празен низ.
Предупреждение: Браузърите не изпращат фрагмент към сървъра, така че `$url->getFragment()` ще върне празен низ.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/bg/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ $url = new Url(
| | `getHostUrl(): string`| `'http://nette.org:8080'
| | `getAbsoluteUrl(): string` | пълен URL адрес

Предупреждение: Когато работите с URL, получен от [HTTP заявка |request], имайте предвид, че той няма да съдържа фрагмента, тъй като браузърът не го изпраща на сървъра.

Можем да работим и с отделни параметри на заявката, като използваме:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/cs/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://doc.nette.org/cs/?action=edit
echo $url->getHost(); // nette.org
```

Prohlížeče neodesílají na server fragment, takže `$url->getFragment()` bude vracet prázdný řetězec.
Upozornění: prohlížeče neodesílají na server fragment, takže `$url->getFragment()` bude vracet prázdný řetězec.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/cs/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Pro vrácení nebo změnu jednotlivých komponent URL jsou vám k dispozici tyto
| | `getHostUrl(): string` | `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | celá URL

Upozornění: Když pracujete s URL, které je získáno z [HTTP requestu|request], mějte na paměti, že nebude obsahovat fragment, protože prohlížeč jej neodesílá na server.

Můžeme pracovat i s jednotlivými query parametry pomocí:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/de/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

Browser senden kein Fragment an den Server, daher gibt `$url->getFragment()` einen leeren String zurück.
Warnung: Browser senden keine Fragmente an den Server, so dass `$url->getFragment()` einen leeren String zurückgibt.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/de/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Die folgenden Methoden stehen zur Verfügung, um einzelne URL-Komponenten zu erh
| | `getHostUrl(): string`| `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | vollständige URL

Warnung: Bei der Arbeit mit einer URL, die aus einer [HTTP-Anfrage |request] stammt, ist zu beachten, dass sie das Fragment nicht enthält, da der Browser es nicht an den Server sendet.

Wir können auch mit einzelnen Abfrageparametern arbeiten:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/el/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

Οι φυλλομετρητές δεν στέλνουν ένα τμήμα στον διακομιστή, οπότε το `$url->getFragment()` θα επιστρέψει ένα κενό αλφαριθμητικό.
Προειδοποίηση: Οι φυλλομετρητές δεν στέλνουν ένα τμήμα στον διακομιστή, οπότε το `$url->getFragment()` θα επιστρέψει μια κενή συμβολοσειρά.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/el/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ $url = new Url(
| | `getHostUrl(): string`| `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | πλήρες URL

Προειδοποίηση: Όταν εργάζεστε με μια διεύθυνση URL που λαμβάνεται από μια [αίτηση HTTP |request], να έχετε υπόψη σας ότι δεν θα περιέχει το θραύσμα, καθώς το πρόγραμμα περιήγησης δεν το στέλνει στον διακομιστή.

Μπορούμε επίσης να λειτουργήσουμε με μεμονωμένες παραμέτρους ερωτήματος χρησιμοποιώντας:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/en/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

Browsers do not send a fragment to the server, so `$url->getFragment()` will return an empty string.
Warning: Browsers do not send a fragment to the server, so `$url->getFragment()` will return an empty string.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/en/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ The following methods are available to get or change individual URL components:
| | `getHostUrl(): string` | `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | full URL

Warning: When working with a URL obtained from an [HTTP request|request], keep in mind that it will not contain the fragment, as the browser does not send it to the server.

We can also operate with individual query parameters using:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/es/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

Los navegadores no envían un fragmento al servidor, por lo que `$url->getFragment()` devolverá una cadena vacía.
Advertencia: Los navegadores no envían fragmentos al servidor, por lo que `$url->getFragment()` devolverá una cadena vacía.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/es/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Los siguientes métodos están disponibles para obtener o cambiar componentes in
| | `getHostUrl(): string`| `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | URL completa

Atención: Cuando trabaje con una URL obtenida de una [petición HTTP |request], tenga en cuenta que no contendrá el fragmento, ya que el navegador no lo envía al servidor.

También podemos operar con parámetros de consulta individuales utilizando:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/fr/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

Les navigateurs n'envoient pas de fragment au serveur, donc `$url->getFragment()` retournera une chaîne vide.
Attention : Les navigateurs n'envoient pas de fragment au serveur, de sorte que `$url->getFragment()` renvoie une chaîne vide.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/fr/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Les méthodes suivantes sont disponibles pour obtenir ou modifier des composants
| | `getHostUrl(): string`| `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | URL complète

Attention : Lorsque vous travaillez avec une URL obtenue à partir d'une [requête HTTP |request], gardez à l'esprit qu'elle ne contiendra pas le fragment, car le navigateur ne l'envoie pas au serveur.

Nous pouvons également opérer avec des paramètres de requête individuels en utilisant :

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/hu/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

A böngészők nem küldenek töredéket a kiszolgálónak, ezért a `$url->getFragment()` üres karakterláncot ad vissza.
Figyelmeztetés: A böngészők nem küldenek töredéket a kiszolgálónak, ezért a `$url->getFragment()` egy üres karakterláncot fog visszaadni.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/hu/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ A következő módszerek állnak rendelkezésre az egyes URL-komponensek lekérd
| | `getHostUrl(): string`| `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | teljes URL

Figyelmeztetés: Ha egy [HTTP-kérésből |request] kapott URL-címmel dolgozol, ne feledd, hogy az nem tartalmazza a töredéket, mivel a böngésző nem küldi el a kiszolgálónak.

Az egyes lekérdezési paraméterekkel is operálhatunk a következőkkel:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/it/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

I browser non inviano un frammento al server, quindi `$url->getFragment()` restituirà una stringa vuota.
Attenzione: I browser non inviano un frammento al server, quindi `$url->getFragment()` restituirà una stringa vuota.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/it/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Per ottenere o modificare singoli componenti dell'URL sono disponibili i seguent
| | `getHostUrl(): string`| `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | URL completo

Attenzione: Quando si lavora con un URL ottenuto da una [richiesta HTTP |request], tenere presente che non conterrà il frammento, poiché il browser non lo invia al server.

Possiamo anche operare con singoli parametri di query utilizzando:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/pl/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://doc.nette.org/en/?action=edit
echo $url->getHost(); // nette.org
```

Przeglądarki nie wysyłają fragmentu do serwera, więc `$url->getFragment()` zwróci pusty ciąg.
Ostrzeżenie: Przeglądarki nie wysyłają fragmentu do serwera, więc `$url->getFragment()` zwróci pusty ciąg znaków.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/pl/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Aby zwrócić lub zmienić poszczególne składniki adresu URL, dostępne są na
| | `getHostUrl(): string`| `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | pełny adres URL

Ostrzeżenie: Podczas pracy z adresem URL uzyskanym z [żądania |request] HTTP należy pamiętać, że nie będzie on zawierał fragmentu, ponieważ przeglądarka nie wysyła go do serwera.

Możemy również pracować z poszczególnymi parametrami zapytania za pomocą:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/pt/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

Os navegadores não enviam um fragmento para o servidor, portanto `$url->getFragment()` retornará uma cadeia vazia.
Aviso: Os navegadores não enviam um fragmento ao servidor, portanto, o site `$url->getFragment()` retornará uma cadeia de caracteres vazia.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/pt/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Os seguintes métodos estão disponíveis para obter ou alterar os componentes i
| | `getHostUrl(): string`| `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | URL completa

Aviso: Ao trabalhar com um URL obtido de uma [solicitação HTTP |request], lembre-se de que ele não conterá o fragmento, pois o navegador não o envia para o servidor.

Também podemos operar com parâmetros de consulta individuais usando:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/ro/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

Browserele nu trimit un fragment către server, astfel încât `$url->getFragment()` va returna un șir gol.
Avertisment: Browserele nu trimit un fragment către server, astfel încât `$url->getFragment()` va returna un șir gol.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/ro/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Setter | Getter | Getter | Valoare returnată
| | `getHostUrl(): string`| `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | URL complet

Avertisment: Atunci când lucrați cu o adresă URL obținută în urma unei [cereri HTTP |request], rețineți că aceasta nu va conține fragmentul, deoarece browserul nu îl trimite către server.

De asemenea, putem opera cu parametri de interogare individuali folosind:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/ru/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

Браузеры не отправляют фрагмент на сервер, поэтому `$url->getFragment()` вернет пустую строку.
Внимание: Браузеры не отправляют фрагмент на сервер, поэтому `$url->getFragment()` вернет пустую строку.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/ru/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ $url = new Url(
| | `getHostUrl(): string`| `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | полный URL

Внимание: При работе с URL, полученным из [HTTP-запроса |request], имейте в виду, что он не будет содержать фрагмент, поскольку браузер не отправляет его на сервер.

Мы также можем работать с отдельными параметрами запроса, используя:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/sl/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

Brskalniki strežniku ne pošljejo fragmenta, zato `$url->getFragment()` vrne prazen niz.
Opozorilo: Brskalniki strežniku ne pošiljajo fragmentov, zato bo `$url->getFragment()` vrnil prazen niz.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/sl/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Za pridobivanje ali spreminjanje posameznih komponent URL so na voljo naslednje
| | `getHostUrl(): string`| `http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | polni URL

Opozorilo: Pri delu z URL-jem, pridobljenim z [zahtevo HTTP |request], upoštevajte, da ne bo vseboval fragmenta, saj ga brskalnik ne pošlje strežniku.

S posameznimi parametri poizvedbe lahko operiramo tudi z uporabo:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/tr/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

Tarayıcılar sunucuya bir parça göndermez, bu nedenle `$url->getFragment()` boş bir dize döndürür.
Uyarı: Tarayıcılar sunucuya bir parça göndermez, bu nedenle `$url->getFragment()` boş bir dize döndürecektir.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/tr/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Tek tek URL bileşenlerini almak veya değiştirmek için aşağıdaki yöntemle
| | `getHostUrl(): string`| `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | tam URL

Uyarı: Bir [HTTP isteğinden |request] elde edilen bir URL ile çalışırken, tarayıcı bunu sunucuya göndermediği için parçayı içermeyeceğini unutmayın.

Ayrıca tek tek sorgu parametreleri ile de işlem yapabiliriz:

.[language-php]
Expand Down
2 changes: 1 addition & 1 deletion http/uk/request.texy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo $url; // https://nette.org/en/documentation?action=edit
echo $url->getHost(); // nette.org
```

Браузери не надсилають фрагмент на сервер, тому `$url->getFragment()` поверне порожній рядок.
Попередження: Браузери не надсилають фрагмент на сервер, тому `$url->getFragment()` поверне порожній рядок.


getQuery(string $key=null): string|array|null .[method]
Expand Down
2 changes: 2 additions & 0 deletions http/uk/urls.texy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ $url = new Url(
| | `getHostUrl(): string`| `'http://nette.org:8080'`
| | `getAbsoluteUrl(): string` | повний URL

Попередження: Працюючи з URL-адресою, отриманою з [HTTP-запиту |request], майте на увазі, що вона не міститиме фрагмент, оскільки браузер не надсилає його на сервер.

Ми також можемо працювати з окремими параметрами запиту, використовуючи:

.[language-php]
Expand Down

0 comments on commit f155816

Please sign in to comment.