Comments (3)
You can easily make this with string.gsub
from lune.
You can easily make this with
string.gsub
The percent-encoding spec for urls is not that trivial to implement. If you only need to encode things like certain ascii characters and spaces, string.gsub
or one of the other string manipulation functions is probably fine, but if you want to support different character sets, emojis, or raw bytes it gets a lot trickier (and slower).
from lune.
net.urlEncode
and net.urlDecode
have been added for the upcoming version 0.6.0
from lune.
Related Issues (20)
- Improve formatting of LuaError struct when printed HOT 7
- process.spawn panics if the process does not exist (instead of erroring in a Luau-recoverable way) HOT 2
- Userdata with custom __tostring is not printed correctly HOT 1
- Add support for UDP socket HOT 1
- Lune compiles from source when using cargo binstall HOT 3
- unable to find `.luaurc` if `.luaurc` contains invalid JSON syntax
- Vector2 and Vector3 do not support scalar multiplication on the left
- Vector2 and Vector3 do not support methods added after March 2023
- readDir gives different results on Windows if path contains a trailing slash
- Source file is being included in error messages instead of only stack trace
- `__tostring` metamethod not being called in formatter
- Add support for fs.stat and fs.appendFile HOT 4
- process.stdin stream for passing into new process.spawn equivalent (process.create?) HOT 1
- Clean up `SpawnOptionsStdioKind` Enum
- Support Precise Compression Level For `serde.compress`
- Add `scripts/` to `lune run` search paths HOT 6
- DateTime.unixTimestamp not mentioned in DateTime documentation
- The domain should be sent in the request of a Net.serve callback HOT 1
- `lune build` generates a program that is then flagged as malicious. HOT 1
- Support for Encryption / Decryption (AES) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lune.