// does not detect relative urls starting with a letter sbool isRelativeURL(S s) { ret startsWithOneOf(s, "/", "./", "../"); }
Began life as a copy of #1001411
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032262 |
| Snippet name: | isRelativeURL |
| Eternal ID of this version: | #1032262/3 |
| Text MD5: | ccf1e74386a13a47d9ceee54950e6fce |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-22 17:52:30 |
| Source code size: | 131 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 378 / 423 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1032263 - isRelativeOrAbsoluteURL |